Radium Engine
1.5.0
|
#include <Engine/Rendering/DebugRender.hpp>
Public Member Functions | |
void | initialize () |
void | render (const Core::Matrix4 &view, const Core::Matrix4 &proj) |
void | addLine (const Core::Vector3 &from, const Core::Vector3 &to, const Core::Utils::Color &color) |
void | addPoint (const Core::Vector3 &p, const Core::Utils::Color &color) |
void | addPoints (const Core::Vector3Array &p, const Core::Utils::Color &color) |
void | addPoints (const Core::Vector3Array &p, const Core::Vector4Array &colors) |
void | addMesh (const std::shared_ptr< Data::AttribArrayDisplayable > &mesh, const Core::Transform &transform=Core::Transform::Identity()) |
void | addCross (const Core::Vector3 &position, Scalar size, const Core::Utils::Color &color) |
void | addSphere (const Core::Vector3 ¢er, Scalar radius, const Core::Utils::Color &color) |
void | addCircle (const Core::Vector3 ¢er, const Core::Vector3 &normal, Scalar radius, const Core::Utils::Color &color) |
void | addFrame (const Core::Transform &transform, Scalar size) |
void | addTriangle (const Core::Vector3 &p0, const Core::Vector3 &p1, const Core::Vector3 &p2, const Core::Utils::Color &color) |
void | addAABB (const Core::Aabb &box, const Core::Utils::Color &color) |
void | addOBB (const Core::Aabb &box, const Core::Transform &transform, const Core::Utils::Color &color) |
This allow to draw debug objects.
Definition at line 26 of file DebugRender.hpp.
void Ra::Engine::Rendering::DebugRender::initialize | ( | ) |
FIXME : this was not ported to globject ...
Definition at line 30 of file DebugRender.cpp.