Axiom.Core.Node.DebugRenderable.GetWorldTransforms C# (CSharp) Method

GetWorldTransforms() public method

public GetWorldTransforms ( Matrix4 matrices ) : void
matrices Axiom.Math.Matrix4
return void
			public void GetWorldTransforms( Matrix4[] matrices )
			{
				// Assumes up to date
				matrices[0] = _parent.cachedTransform;
				if (!Utility.RealEqual(_scaling, 1.0))
				{
					Matrix4 m = Matrix4.Identity;
					Vector3 s = new Vector3(_scaling, _scaling, _scaling);
					m.Scale = s;
					matrices[0] = matrices[0] * m;
				}
			}