Exemplo n.º 1
0
 private DVector3 GetPointOnCube(DVector3 vector, DVector3 scale, DVector3 translation, Matrix4x4 rotation)
 {
     vector.Scale(scale);
     vector = (DVector3)rotation.MultiplyPoint((Vector3)vector);
     vector.Translate(position);
     return(vector);
 }