25 #ifndef OPENGL_UTILS_H 26 #define OPENGL_UTILS_H 28 #include "../raytracing/shapes3D/bbox_3d.h" 29 #include "../raytracing/shapes2D/round_segment_2d.h" 68 #endif // OPENGL_UTILS_H Manage a bounding box defined by two SFVEC3F min max points.
void DrawBoundingBox(const BBOX_3D &aBBox)
Draw the bounding box lines.
void DrawRoundArrow(SFVEC3F aPosition, SFVEC3F aTargetPos, float aSize)
Draw a round arrow.
void DrawHalfOpenCylinder(unsigned int aNrSidesPerCircle)
Draw a half open cylinder with diameter 1.0f and height 1.0f.
void DrawSegment(const ROUND_SEGMENT_2D &aSegment, unsigned int aNrSidesPerCircle)
Draw a thick line segment with rounded ends.