Color for debug drawing. Each value has the range [0,1].
More...
#include <b2_draw.h>
|
| b2Color () |
|
| b2Color (float rIn, float gIn, float bIn, float aIn=1.0f) |
|
void | Set (float rIn, float gIn, float bIn, float aIn=1.0f) |
|
|
float | a |
|
float | b |
|
float | g |
|
float | r |
|
Color for debug drawing. Each value has the range [0,1].
Definition at line 30 of file b2_draw.h.
◆ b2Color() [1/2]
◆ b2Color() [2/2]
b2Color::b2Color |
( |
float |
rIn, |
|
|
float |
gIn, |
|
|
float |
bIn, |
|
|
float |
aIn = 1.0f |
|
) |
| |
|
inline |
◆ Set()
void b2Color::Set |
( |
float |
rIn, |
|
|
float |
gIn, |
|
|
float |
bIn, |
|
|
float |
aIn = 1.0f |
|
) |
| |
|
inline |
The documentation for this struct was generated from the following file: