Cleanup: use const for transform internal API
[blender.git] / source / blender / editors / transform / transform_generics.c
index be6067f9c2d1b16fecfca0599313e447bfa71a68..ad88bbe53f40f4d09b6b284d021a6a009cb41cb0 100644 (file)
 
 /* ************************** Functions *************************** */
 
-void getViewVector(TransInfo *t, float coord[3], float vec[3])
+void getViewVector(const TransInfo *t, const float coord[3], float vec[3])
 {
        if (t->persp != RV3D_ORTHO) {
                sub_v3_v3v3(vec, coord, t->viewinv[3]);