Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Classes | Public Member Functions | List of all members
smlt::Debug Class Reference
Inheritance diagram for smlt::Debug:
smlt::RefCounted< Debug > smlt::TwoPhaseConstructed

Public Member Functions

 Debug (Stage &stage)
 
void draw_ray (const Vec3 &start, const Vec3 &dir, const Colour &colour=Colour::WHITE, double duration=0.0, bool depth_test=true)
 
void draw_line (const Vec3 &start, const Vec3 &end, const Colour &colour=Colour::WHITE, double duration=0.0, bool depth_test=true)
 
void draw_point (const Vec3 &position, const Colour &colour=Colour::WHITE, double duration=0.0, bool depth_test=true)
 
bool init () override
 
void set_point_size (float ps)
 
float point_size () const
 
void update (float dt)
 
void set_transform (const Mat4 &mat)
 
Mat4 transform () const
 
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual void clean_up ()
 

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< Debug >
typedef std::shared_ptr< Debugptr
 
typedef std::weak_ptr< Debugwptr
 
- Static Public Member Functions inherited from smlt::RefCounted< Debug >
static RefCounted< Debug >::ptr create (Args &&... args)
 
static RefCounted< Debug >::ptr create ()
 
- Protected Member Functions inherited from smlt::RefCounted< Debug >
 RefCounted (Args &&...)
 

The documentation for this class was generated from the following files: