diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-13 15:08:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-13 15:08:51 +0300 |
commit | d1f9fcaabcc64f224467523bb1258c59ebfb8209 (patch) | |
tree | 030c4ac96bd045b5284022f98c5dec46b71471a0 /intern | |
parent | d2da8aa27aad3e97365e6cae80d3c516073529c9 (diff) |
Cleanup: style
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/render/camera.cpp | 2 | ||||
-rw-r--r-- | intern/ghost/GHOST_C-api.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/intern/cycles/render/camera.cpp b/intern/cycles/render/camera.cpp index 9e3a17bf792..65953a41be8 100644 --- a/intern/cycles/render/camera.cpp +++ b/intern/cycles/render/camera.cpp @@ -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)); diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index 5f01a13b64e..8a80a51a77b 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -660,7 +660,7 @@ extern GHOST_TSuccess GHOST_SetWindowOrder(GHOST_WindowHandle windowhandle, /** * Swaps front and back buffers of a window. * \param windowhandle The handle to the window - * \return An intean success indicator. + * \return A success indicator. */ extern GHOST_TSuccess GHOST_SwapWindowBuffers(GHOST_WindowHandle windowhandle); @@ -688,7 +688,7 @@ extern GHOST_TUns16 GHOST_GetNumOfAASamples(GHOST_WindowHandle windowhandle); /** * Activates the drawing context of this window. * \param windowhandle The handle to the window - * \return An intean success indicator. + * \return A success indicator. */ extern GHOST_TSuccess GHOST_ActivateWindowDrawingContext(GHOST_WindowHandle windowhandle); @@ -752,7 +752,7 @@ extern void GHOST_SetRectangle(GHOST_RectangleHandle rectanglehandle, * Returns whether this rectangle is empty. * Empty rectangles are rectangles that have width==0 and/or height==0. * \param rectanglehandle The handle to the rectangle - * \return intean value (true == empty rectangle) + * \return Success value (true == empty rectangle) */ extern GHOST_TSuccess GHOST_IsEmptyRectangle(GHOST_RectangleHandle rectanglehandle); @@ -760,7 +760,7 @@ extern GHOST_TSuccess GHOST_IsEmptyRectangle(GHOST_RectangleHandle rectanglehand * Returns whether this rectangle is valid. * Valid rectangles are rectangles that have m_l <= m_r and m_t <= m_b. Thus, empty rectangles are valid. * \param rectanglehandle The handle to the rectangle - * \return intean value (true == valid rectangle) + * \return Success value (true == valid rectangle) */ extern GHOST_TSuccess GHOST_IsValidRectangle(GHOST_RectangleHandle rectanglehandle); @@ -798,7 +798,7 @@ extern void GHOST_UnionPointRectangle(GHOST_RectangleHandle rectanglehandle, * \param rectanglehandle The handle to the rectangle * \param x x-coordinate of point to test. * \param y y-coordinate of point to test. - * \return intean value (true if point is inside). + * \return Success value (true if point is inside). */ extern GHOST_TSuccess GHOST_IsInsideRectangle(GHOST_RectangleHandle rectanglehandle, GHOST_TInt32 x, |