NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
eggMath.h
1#pragma once
2
3#include <math.h>
4
5namespace EGG {
6 /// @note Unfinished
7 template <class T>
8 class Math {
9 public:
10 static T sqrt(T v);
11
12 static T abs(T v) {
13 return v < 0 ? -v : v;
14 }
15
16 static T zero() { return 0; }
17 };
18
19 typedef Math<float> Mathf;
20}