Quellcode durchsuchen

Learn your fucking operators, you dumbass !!!!!

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> vor 10 Jahren
Ursprung
Commit
115bd31b0e
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. +4
    -4
      src/math/geometry.cpp

+ 4
- 4
src/math/geometry.cpp Datei anzeigen

@@ -39,10 +39,10 @@ namespace lol
bool TestEpsilon::operator>=(float value)const { return (value >= Minus()); }
bool operator==(float value, const TestEpsilon& epsilon) { return epsilon == value; }
bool operator!=(float value, const TestEpsilon& epsilon) { return epsilon != value; }
bool operator<(float value, const TestEpsilon& epsilon) { return epsilon < value; }
bool operator<=(float value, const TestEpsilon& epsilon) { return epsilon <= value; }
bool operator>(float value, const TestEpsilon& epsilon) { return epsilon > value; }
bool operator>=(float value, const TestEpsilon& epsilon) { return epsilon >= value; }
bool operator<(float value, const TestEpsilon& epsilon) { return epsilon > value; }
bool operator<=(float value, const TestEpsilon& epsilon) { return epsilon >= value; }
bool operator>(float value, const TestEpsilon& epsilon) { return epsilon < value; }
bool operator>=(float value, const TestEpsilon& epsilon) { return epsilon <= value; }

// Line/triangle : sets isec_p as the intersection point & return true if ok.
bool TestRayVsTriangle(vec3 const &ray_point, vec3 const &ray_dir,


Laden…
Abbrechen
Speichern