Exemple #1
0
        public static zVec3 Create(float x, float y, float z)
        {
            int   ptr = Process.Alloc(zVec3.ByteSize).ToInt32();
            zVec3 rV  = new zVec3(ptr);

            rV.X = x; rV.Y = y; rV.Z = z;
            return(rV);
        }
Exemple #2
0
 public void EulerToQuat(zVec3 zVec)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x518BE0, zVec);
 }
Exemple #3
0
 public void GetRightVector(zVec3 vec)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x490DF0, vec);
 }
Exemple #4
0
 public void QuatToEuler(zVec3 zVec)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x518AC0, zVec);
 }
Exemple #5
0
 public void SetRightVector(zVec3 vec)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x004B9DB0, vec);
 }
Exemple #6
0
 public void GetAtVector(zVec3 vec)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x431D20, vec);
 }
Exemple #7
0
 public void SetAtVector(zVec3 vec)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x0056B960, vec);
 }
Exemple #8
0
 public void SetByEulerAngles(zVec3 angles)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x5163D0, angles);
 }
Exemple #9
0
 public void SetByEulerAngles(float x, float y, float z)
 {
     using (zVec3 zVec = zVec3.Create(x, y, z))
         SetByEulerAngles(zVec);
 }
Exemple #10
0
 public void GetEulerAngles(zVec3 vec)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x516390, vec);
 }
Exemple #11
0
 public void GetCenter(zVec3 vec)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x54E7A0, (IntArg)vec.Address);
 }