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>2010-04-24 03:57:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-24 03:57:00 +0400
commit39c0e690d3ad350195c8c68b7a8d317d056ff6a0 (patch)
tree8536e8465b35c4bd0a4728eac5e7f21fce5f60fa /source/blender/editors/curve
parent394537715d1988056fe47a1c3a0dace6d39499e5 (diff)
sub_v3_v3v3 --> sub_v3_v3 (where possible)
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r--source/blender/editors/curve/editcurve.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 32572da573d..e37363cf0a2 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -3423,13 +3423,13 @@ static int addvert_Nurb(bContext *C, short mode, float location[3])
nu->pntsu++;
if(mode=='e') {
- VECCOPY(newbezt->vec[0], bezt->vec[0]);
- VECCOPY(newbezt->vec[1], bezt->vec[1]);
- VECCOPY(newbezt->vec[2], bezt->vec[2]);
+ copy_v3_v3(newbezt->vec[0], bezt->vec[0]);
+ copy_v3_v3(newbezt->vec[1], bezt->vec[1]);
+ copy_v3_v3(newbezt->vec[2], bezt->vec[2]);
}
else {
- VECCOPY(newbezt->vec[1], location);
- sub_v3_v3v3(newbezt->vec[1],newbezt->vec[1], obedit->obmat[3]);
+ copy_v3_v3(newbezt->vec[1], location);
+ sub_v3_v3(newbezt->vec[1], obedit->obmat[3]);
mul_m3_v3(imat,newbezt->vec[1]);
sub_v3_v3v3(temp, newbezt->vec[1],temp);
add_v3_v3v3(newbezt->vec[0], bezt->vec[0],temp);
@@ -3471,11 +3471,11 @@ static int addvert_Nurb(bContext *C, short mode, float location[3])
makeknots(nu, 1);
if(mode=='e') {
- VECCOPY(newbp->vec, bp->vec);
+ copy_v3_v3(newbp->vec, bp->vec);
}
else {
- VECCOPY(newbp->vec, location);
- sub_v3_v3v3(newbp->vec, newbp->vec, obedit->obmat[3]);
+ copy_v3_v3(newbp->vec, location);
+ sub_v3_v3(newbp->vec, obedit->obmat[3]);
mul_m3_v3(imat,newbp->vec);
newbp->vec[3]= 1.0;
}