Cleanup: style

This commit is contained in:
Campbell Barton
2015-04-13 22:08:51 +10:00
parent d2da8aa27a
commit d1f9fcaabc
5 changed files with 15 additions and 10 deletions

View File

@@ -400,7 +400,7 @@ BoundBox Camera::viewplane_bounds_get()
bounds.grow(transform_raster_to_world((float)width, (float)height));
bounds.grow(transform_raster_to_world((float)width, 0.0f));
if(type == CAMERA_PERSPECTIVE) {
/* Center point has the most distancei in local Z axis,
/* Center point has the most distance in local Z axis,
* use it to construct bounding box/
*/
bounds.grow(transform_raster_to_world(0.5f*width, 0.5f*height));