mirror of
https://github.com/ENSL/NS.git
synced 2024-11-22 20:51:35 +00:00
linux build bug fix
This commit is contained in:
parent
41f0ed5998
commit
57fcad38d3
1 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@
|
|||
AngleMatrix
|
||||
|
||||
====================
|
||||
*/
|
||||
|
||||
|
||||
void AngleMatrix (const float *angles, float (*matrix)[4] )
|
||||
{
|
||||
|
@ -41,13 +41,13 @@ void AngleMatrix (const float *angles, float (*matrix)[4] )
|
|||
matrix[1][3] = 0.0;
|
||||
matrix[2][3] = 0.0;
|
||||
}
|
||||
|
||||
*/
|
||||
/*
|
||||
====================
|
||||
VectorCompare
|
||||
|
||||
====================
|
||||
*/
|
||||
|
||||
int VectorCompare (const float *v1, const float *v2)
|
||||
{
|
||||
int i;
|
||||
|
@ -58,20 +58,20 @@ int VectorCompare (const float *v1, const float *v2)
|
|||
|
||||
return 1;
|
||||
}
|
||||
|
||||
*/
|
||||
/*
|
||||
====================
|
||||
CrossProduct
|
||||
|
||||
====================
|
||||
*/
|
||||
|
||||
void CrossProduct (const float *v1, const float *v2, float *cross)
|
||||
{
|
||||
cross[0] = v1[1]*v2[2] - v1[2]*v2[1];
|
||||
cross[1] = v1[2]*v2[0] - v1[0]*v2[2];
|
||||
cross[2] = v1[0]*v2[1] - v1[1]*v2[0];
|
||||
}
|
||||
|
||||
*/
|
||||
/*
|
||||
====================
|
||||
VectorTransform
|
||||
|
|
Loading…
Reference in a new issue