Radium Engine
1.5.20
|
#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::addAABB | ( | const Core::Aabb & | box, |
const Core::Utils::Color & | color ) |
Definition at line 320 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addCircle | ( | const Core::Vector3 & | center, |
const Core::Vector3 & | normal, | ||
Scalar | radius, | ||
const Core::Utils::Color & | color ) |
Definition at line 302 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addCross | ( | const Core::Vector3 & | position, |
Scalar | size, | ||
const Core::Utils::Color & | color ) |
Definition at line 281 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addFrame | ( | const Core::Transform & | transform, |
Scalar | size ) |
Definition at line 309 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addLine | ( | const Core::Vector3 & | from, |
const Core::Vector3 & | to, | ||
const Core::Utils::Color & | color ) |
Definition at line 252 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addMesh | ( | const std::shared_ptr< Data::AttribArrayDisplayable > & | mesh, |
const Core::Transform & | transform = Core::Transform::Identity() ) |
Definition at line 276 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addOBB | ( | const Core::Aabb & | box, |
const Core::Transform & | transform, | ||
const Core::Utils::Color & | color ) |
Definition at line 324 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addPoint | ( | const Core::Vector3 & | p, |
const Core::Utils::Color & | color ) |
Definition at line 259 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addPoints | ( | const Core::Vector3Array & | p, |
const Core::Utils::Color & | color ) |
Definition at line 263 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addPoints | ( | const Core::Vector3Array & | p, |
const Core::Vector4Array & | colors ) |
Definition at line 269 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addSphere | ( | const Core::Vector3 & | center, |
Scalar | radius, | ||
const Core::Utils::Color & | color ) |
Definition at line 296 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::addTriangle | ( | const Core::Vector3 & | p0, |
const Core::Vector3 & | p1, | ||
const Core::Vector3 & | p2, | ||
const Core::Utils::Color & | color ) |
Definition at line 313 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::initialize | ( | ) |
FIXME : this was not ported to globject ...
Definition at line 30 of file DebugRender.cpp.
void Ra::Engine::Rendering::DebugRender::render | ( | const Core::Matrix4 & | view, |
const Core::Matrix4 & | proj ) |
Definition at line 133 of file DebugRender.cpp.