diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-20 05:54:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-20 07:12:22 +0300 |
commit | 5d30c23c35aafba3a9bc772b4e66dd70b1ed84de (patch) | |
tree | 0657f4c3878153e715d8bbc3cda20734655498ca /source/blender/editors | |
parent | 922d5ed939139d578d4f9fdc55e891e0a23f7709 (diff) |
doxygen: corrections/updates
Also add depsgraph & physics
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/view2d.c | 8 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c index 09b97b43ea1..5f7eca5f5b0 100644 --- a/source/blender/editors/interface/view2d.c +++ b/source/blender/editors/interface/view2d.c @@ -1987,7 +1987,7 @@ void UI_view2d_listview_view_to_cell( * * \param columnwidth, rowheight: Size of each 'cell' * \param startx, starty: Coordinates that the list starts from, which should be (0,0) for most views - * \param column, row_min, max: The starting and ending column/row indices + * \param column_min, column_max, row_min, row_max: The starting and ending column/row indices */ void UI_view2d_listview_visible_cells( View2D *v2d, float columnwidth, float rowheight, float startx, float starty, @@ -2021,7 +2021,7 @@ float UI_view2d_region_to_view_y(struct View2D *v2d, float y) * Convert from screen/region space to 2d-View space * * \param x, y: coordinates to convert - * \param viewx, viewy: resultant coordinates + * \param r_view_x, r_view_y: resultant coordinates */ void UI_view2d_region_to_view(View2D *v2d, float x, float y, float *r_view_x, float *r_view_y) { @@ -2054,7 +2054,7 @@ float UI_view2d_view_to_region_y(View2D *v2d, float y) * \note Coordinates are clamped to lie within bounds of region * * \param x, y: Coordinates to convert. - * \param regionx, regiony: Resultant coordinates. + * \param r_region_x, r_region_y: Resultant coordinates. */ bool UI_view2d_view_to_region_clip(View2D *v2d, float x, float y, int *r_region_x, int *r_region_y) { @@ -2083,7 +2083,7 @@ bool UI_view2d_view_to_region_clip(View2D *v2d, float x, float y, int *r_region_ * \note Coordinates are NOT clamped to lie within bounds of region. * * \param x, y: Coordinates to convert. - * \param regionx, regiony: Resultant coordinates. + * \param r_region_x, r_region_y: Resultant coordinates. */ void UI_view2d_view_to_region(View2D *v2d, float x, float y, int *r_region_x, int *r_region_y) { diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 8bdbe23ead8..19777e0093c 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -373,6 +373,9 @@ static void sculpt_project_v3_cache_init( spvc->len_sq_inv_neg = (spvc->is_valid) ? -1.0f / spvc->len_sq : 0.0f; } +/** + * Calculate the projection. + */ static void sculpt_project_v3( const SculptProjectVector *spvc, const float vec[3], float r_vec[3]) |