/
redgpu
/
GDMagArchive
Обзор
Документация
Войти
/
redgpu
/
GDMagArchive
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
aug00/sharp/math/plane.h
30 строк
433 B
Don Williamson
first commit
31 окт 2016, 17:03
31 окт 2016, 17:03
c823e7b
Код
Авторство
О чём код?
#ifndef PLANE_H #define PLANE_H #include <math/Vector.h> class Plane { public: Plane(const Vector& normal = Vector(), float offset = 0); const Vector& getNormal() const; float getA() const; float getB() const; float getC() const; float getD() const; void setA(float); void setB(float); void setC(float); void setD(float); bool isInside(const Vector&) const; private: Vector abc; float d; }; #endif //PLANE_H