mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-26 19:14:15 +01:00
Atan2 and Sqrt
This commit is contained in:
parent
669374ec1a
commit
7857590990
@ -679,7 +679,7 @@ CFileLoader::LoadMLOInstance(int id, const char *line)
|
||||
&scale.x, &scale.y, &scale.z,
|
||||
&rot.x, &rot.y, &rot.z,
|
||||
&angle);
|
||||
float rad = 2.0f * (PI / 2.0f - atan2(angle, sqrt(1.0f - SQR(angle))));
|
||||
float rad = 2.0f * (PI / 2.0f - Atan2(angle, Sqrt(1.0f - SQR(angle))));
|
||||
CInstance *inst = CModelInfo::GetMloInstanceStore()->alloc();
|
||||
minfo->lastInstance++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user