nbytes -= read_string(f,material->name);
/* defaults */
- material->r = 0.7;
- material->g = 0.7;
- material->b = 0.7;
+ material->r = 0.7f;
+ material->g = 0.7f;
+ material->b = 0.7f;
}
lwo->material = (lwMaterial*) realloc(lwo->material, sizeof(lwMaterial)*lwo->material_cnt);
}