private GetGlobalTransformationMatrix ( ) : Matrix4 | ||
return | Matrix4 |
private Matrix4 GetGlobalTransformationMatrix()
{
if (parent == null)
{
return this.localTransformationMatrix;
}
else
{
return this.localTransformationMatrix * parent.GetGlobalTransformationMatrix();
}
}
}