Kaydet (Commit) aef3ce97 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

There is this thing called bool to use for Boolean flags

Change-Id: Ifc25cb29b17e33d19e8f4ccafc653fdb686f2b5a
üst 3fef59ce
......@@ -48,7 +48,7 @@ typedef struct MaterialParameters
glm::vec4 specular;
glm::vec4 materialColor;
int twoSidesLighting;
bool twoSidesLighting;
float shininess;
float pad;
float pad1;
......@@ -73,9 +73,9 @@ typedef struct GlobalLights
typedef struct Polygon3DInfo
{
short lineOnly;
bool lineOnly;
float lineWidth;
int twoSidesLighting;
bool twoSidesLighting;
long fillStyle;
glm::vec4 polygonColor;
Vertices3D *vertices;
......@@ -90,9 +90,9 @@ typedef struct Polygon3DInfo
typedef struct Extrude3DInfo
{
int pickingFlg;
short lineOnly;
bool lineOnly;
float lineWidth;
int twoSidesLighting;
bool twoSidesLighting;
glm::vec4 extrudeColor;
long fillStyle;
float xRange[2];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment