Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-17 15:14:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-17 18:27:16 +0400
commit69d127cadefbd9da6f8f11e3e32b77baebd20ea4 (patch)
treec41b450ffca9057acf7ef7b6485afa7149297045 /source/blender/editors/space_view3d/view3d_intern.h
parent300f4482e8748818ea6867d6c47acde3bb905d6d (diff)
Code cleanup: use const for array args
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_intern.h')
-rw-r--r--source/blender/editors/space_view3d/view3d_intern.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h
index 3e7c97abaa9..3f5d35aa065 100644
--- a/source/blender/editors/space_view3d/view3d_intern.h
+++ b/source/blender/editors/space_view3d/view3d_intern.h
@@ -204,8 +204,9 @@ void VIEW3D_OT_game_start(struct wmOperatorType *ot);
bool ED_view3d_boundbox_clip_ex(RegionView3D *rv3d, const struct BoundBox *bb, float obmat[4][4]);
bool ED_view3d_boundbox_clip(RegionView3D *rv3d, const struct BoundBox *bb);
-void ED_view3d_smooth_view(struct bContext *C, struct View3D *v3d, struct ARegion *ar, struct Object *, struct Object *,
- float *ofs, float *quat, float *dist, float *lens,
+void ED_view3d_smooth_view(struct bContext *C, struct View3D *v3d, struct ARegion *ar,
+ struct Object *camera_old, struct Object *camera,
+ const float *ofs, const float *quat, const float *dist, const float *lens,
const int smooth_viewtx);
void setwinmatrixview3d(ARegion *ar, View3D *v3d, rctf *rect);
@@ -259,8 +260,8 @@ extern const char *view3d_context_dir[]; /* doc access */
/* draw_volume.c */
void draw_smoke_volume(struct SmokeDomainSettings *sds, struct Object *ob,
- struct GPUTexture *tex, float min[3], float max[3],
- int res[3], float dx, float base_scale, float viewnormal[3],
+ struct GPUTexture *tex, const float min[3], const float max[3],
+ const int res[3], float dx, float base_scale, const float viewnormal[3],
struct GPUTexture *tex_shadow, struct GPUTexture *tex_flame);
//#define SMOKE_DEBUG_VELOCITY