Ejemplo n.º 1
0
 public static Fixed Dot(Fixed3 a, Fixed3 b)
 {
     return(a.x * b.x + b.y * a.y);
 }
Ejemplo n.º 2
0
 public static Fixed3 Lerp(Fixed3 a, Fixed3 b, Fixed t)
 {
     return(new Fixed3(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t, a.z + (b.z - a.z) * t));
 }
Ejemplo n.º 3
0
 public Fixed Dot(Fixed3 b)
 {
     return(Dot(this, b));
 }
Ejemplo n.º 4
0
 public void Reset(Fixed3 position, Fixed3 rotation)
 {
     transform.position = position;
     transform.rotation = rotation;
 }