mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-20 00:19:24 +00:00
added CCoronas
This commit is contained in:
parent
7eee450a69
commit
0476a41883
11 changed files with 782 additions and 4 deletions
|
@ -25,6 +25,7 @@ public:
|
|||
float Magnitude(void) const { return sqrt(x*x + y*y + z*z); }
|
||||
float MagnitudeSqr(void) const { return x*x + y*y + z*z; }
|
||||
float Magnitude2D(void) const { return sqrt(x*x + y*y); }
|
||||
float MagnitudeSqr2D(void) const { return x*x + y*y; }
|
||||
void Normalise(void) {
|
||||
float sq = MagnitudeSqr();
|
||||
if(sq > 0.0f){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue