Improve readability

This commit is contained in:
hasufell 2014-05-31 18:43:35 +02:00
parent 74f0af7a07
commit b87a001ac5
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -268,9 +268,9 @@ bool normalize_object(HE_obj *obj)
scale_factor = get_normalized_scale_factor(obj);
for (uint32_t i = 0; i < obj->vc; i++) {
obj->vertices[i].vec->x = obj->vertices[i].vec->x * scale_factor;
obj->vertices[i].vec->y = obj->vertices[i].vec->y * scale_factor;
obj->vertices[i].vec->z = obj->vertices[i].vec->z * scale_factor;
obj->vertices[i].vec->x *= scale_factor;
obj->vertices[i].vec->y *= scale_factor;
obj->vertices[i].vec->z *= scale_factor;
}
for (uint32_t i = 0; i < obj->bzc; i++) {