From 70d299c7ce7d27c96acd10eef3dfc848a2bb9a93 Mon Sep 17 00:00:00 2001 From: Milan Garnier Date: Thu, 18 Jul 2019 14:35:53 +0200 Subject: [PATCH] Supprimer 'SH3D/mathmodule/angle.h' --- SH3D/mathmodule/angle.h | 65 ----------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 SH3D/mathmodule/angle.h diff --git a/SH3D/mathmodule/angle.h b/SH3D/mathmodule/angle.h deleted file mode 100644 index 715f68d..0000000 --- a/SH3D/mathmodule/angle.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef ANGLE_H -#define ANGLE_H - -class Angle -{ -public: - Angle(); - Angle(char angle); - Angle(Angle const& angle); - - static void loadAll(); // précalcule les cosinus - - - Angle& operator+=(const Angle& a); - Angle& operator+=(const char& a); - Angle& operator++(); - Angle& operator-=(const Angle& a); - Angle& operator-=(const char& a); - Angle& operator--(); - Angle& operator=(const char& a); - bool testEgalite(Angle const& angle) const; - bool testEgalite(char const& angle) const; - bool testSuperieur(Angle const& angle) const; // true si this > angle - bool testSuperieur(char const& angle) const; - - - - double cos()const; - double sin()const; - double tan()const; - static double cos(char const angle); - static double sin(char const angle); - static double tan(char const angle); - static double cos(Angle const& angle); - static double sin(Angle const& angle); - static double tan(Angle const& angle); -protected: - char m_currentValue; - - static bool hasBeenLoadedBefore; - static double m_cos[256],m_sin[256],m_tan[256]; - - -}; - -bool operator==(Angle const& a, Angle const& b); -bool operator>=(Angle const& a, Angle const& b); -bool operator<=(Angle const& a, Angle const& b); -bool operator> (Angle const& a, Angle const& b); -bool operator< (Angle const& a, Angle const& b); - -bool operator==(Angle const& a, char const& b); -bool operator>=(Angle const& a, char const& b); -bool operator<=(Angle const& a, char const& b); -bool operator> (Angle const& a, char const& b); -bool operator< (Angle const& a, char const& b); - - - -Angle operator+(Angle const& a, Angle const& b); -Angle operator-(Angle const& a, Angle const& b); - -Angle operator+(Angle const& a, char const& b); -Angle operator-(Angle const& a, char const& b); -#endif \ No newline at end of file