Example #1
0
 public void Translate(Fix64 x, Fix64 y, Fix64 z, FPTransform relativeTo)
 {
     Translate(new FPVector(x, y, z), relativeTo);
 }
Example #2
0
 public void Translate(FPVector translation, FPTransform relativeTo)
 {
     this.position += FPVector.Transform(translation, FPMatrix.CreateFromQuaternion(relativeTo.rotation));
 }
Example #3
0
 public void LookAt(FPTransform other)
 {
     LookAt(other.position);
 }