25 #include "SPolygon.hpp" 36 Vec3f normal, sNormal;
38 float distance, sDistance;
40 void setPoints(
const Vec3f &v1,
const Vec3f &v2,
const Vec3f &v3, SPolygon::Order o = SPolygon::CCW);
41 float calcDistance(
const Vec3f p)
const;
42 bool isBehind(
const Vec3f& p)
const;
46 bool intersect(
const Line &l,
float &val)
const;
A simple line class, identified by a point and a direction vector.
This header contains useful classes for common geometric operations that are useful for 3D rendering...