Color for debug drawing. Each value has the range [0,1]. More...
#include <b2Draw.h>
Public Member Functions | |
b2Color () | |
b2Color (float32 r, float32 g, float32 b, float32 a=1.0f) | |
void | Set (float32 ri, float32 gi, float32 bi, float32 ai=1.0f) |
Public Attributes | |
float32 | a |
float32 | b |
float32 | g |
float32 | r |
b2Color::b2Color | ( | ) | [inline] |
b2Color::b2Color | ( | float32 | r, |
float32 | g, | ||
float32 | b, | ||
float32 | a = 1.0f |
||
) | [inline] |
void b2Color::Set | ( | float32 | ri, |
float32 | gi, | ||
float32 | bi, | ||
float32 | ai = 1.0f |
||
) | [inline] |