SA-MP/bot/mathutils.h

14 lines
457 B
C
Raw Normal View History

2024-05-31 23:03:37 +08:00
#pragma once
//----------------------------------------------------
void CrossProduct(PVECTOR result, PVECTOR v1, PVECTOR v2);
void TransformVector(PVECTOR result, PMATRIX4X4 m, PVECTOR v);
void QuaternionToMatrix(PQUATERNION q, PMATRIX4X4 m);
void MatrixToQuaternion(PMATRIX4X4 m, PQUATERNION q);
void EulerToQuaternion(PVECTOR v, PQUATERNION q);
void QuaternionToEuler(PQUATERNION q, PVECTOR v);
//----------------------------------------------------