This commit is contained in:
Caroline Madsen
2024-02-11 00:29:35 -05:00
committed by GitHub
parent 6b84d8dbb8
commit 956699083c
71 changed files with 1601 additions and 3179 deletions
+5
View File
@@ -444,6 +444,11 @@ struct TUtil {
}
};
template<>
struct TUtil<f32> {
static inline f32 PI() { return 3.1415927f; }
};
template<>
struct TUtil<double> {
static inline double epsilon() { return 32.0f * FLT_EPSILON; }