mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +08:00
Fix file encoding
This commit is contained in:

committed by
Nicholas Hastings

parent
6bd04b74a8
commit
044b6cf8df
@ -1,4 +1,4 @@
|
||||
//===== Copyright <EFBFBD> 1996-2005, Valve Corporation, All rights reserved. ======//
|
||||
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
@ -2537,14 +2537,14 @@ public:
|
||||
X[i] = P[i];
|
||||
normalize(X);
|
||||
|
||||
// Its y axis is perpendicular to P, so Y = unit( E - X(E<EFBFBD>X) ).
|
||||
// Its y axis is perpendicular to P, so Y = unit( E - X(E·X) ).
|
||||
|
||||
float dDOTx = dot(D,X);
|
||||
for (i = 0 ; i < 3 ; i++)
|
||||
Y[i] = D[i] - dDOTx * X[i];
|
||||
normalize(Y);
|
||||
|
||||
// Its z axis is perpendicular to both X and Y, so Z = X<EFBFBD>Y.
|
||||
// Its z axis is perpendicular to both X and Y, so Z = X×Y.
|
||||
|
||||
cross(X,Y,Z);
|
||||
|
||||
|
Reference in New Issue
Block a user