Code cleanup: use booleans where appropriate

This commit is contained in:
2014-01-28 03:52:21 +11:00
parent 60287e23b5
commit a5c35fb27f
66 changed files with 248 additions and 233 deletions

View File

@@ -130,7 +130,7 @@ static void sphere_do(
Object *ctrl_ob = NULL;
int i, defgrp_index;
int has_radius = 0;
bool has_radius = false;
short flag, type;
float len = 0.0f;
float fac = cmd->fac;
@@ -250,7 +250,7 @@ static void cuboid_do(
Object *ctrl_ob = NULL;
int i, defgrp_index;
int has_radius = 0;
bool has_radius = false;
short flag;
float fac = cmd->fac;
float facm = 1.0f - fac;