Axiom.Demos.VolumeRenderable.GetWorldTransforms C# (CSharp) Method

GetWorldTransforms() public method

public GetWorldTransforms ( Axiom matrices ) : void
matrices Axiom
return void
        public override void GetWorldTransforms( Axiom.Math.Matrix4[] matrices )
        {
            Matrix4 destMatrix = Matrix4.Identity;
            Vector3 position = ParentNode.DerivedPosition;
            Vector3 scale = ParentNode.DerivedScale;
            Matrix3 scale3x3 = Matrix3.Zero;
            scale3x3[ 0, 0 ] = scale.x;
            scale3x3[ 1, 1 ] = scale.y;
            scale3x3[ 2, 2 ] = scale.z;

            destMatrix = mFakeOrientation * scale3x3;
            destMatrix.Translation = position;
            matrices[ 0 ] = destMatrix;
        }
        public override void NotifyCurrentCamera( Camera camera )