mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2026-05-05 06:43:52 +00:00
feat: sync with Whoa implementation
This commit is contained in:
parent
254ba545f5
commit
6a31dc3ea4
19 changed files with 988 additions and 774 deletions
7
tempest/math/CMath.cpp
Normal file
7
tempest/math/CMath.cpp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include "tempest/math/CMath.hpp"
|
||||
|
||||
const float CMath::PI = 3.1415927f;
|
||||
const float CMath::TWO_PI = 6.2831855f;
|
||||
const float CMath::OO_TWO_PI = 1.0f / CMath::TWO_PI;
|
||||
const float CMath::EPSILON = 0.00000023841858f;
|
||||
const float CMath::DEG2RAD = CMath::PI / 180.0f;
|
||||
Loading…
Add table
Add a link
Reference in a new issue