[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27397] branches/render25/source/blender/ blenlib: Render Branch: some more changes to go with recent commit.
Brecht Van Lommel
brecht at blender.org
Wed Mar 10 21:21:10 CET 2010
Revision: 27397
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27397
Author: blendix
Date: 2010-03-10 21:21:09 +0100 (Wed, 10 Mar 2010)
Log Message:
-----------
Render Branch: some more changes to go with recent commit.
Modified Paths:
--------------
branches/render25/source/blender/blenlib/BLI_math_vector.h
branches/render25/source/blender/blenlib/intern/math_vector_inline.c
Modified: branches/render25/source/blender/blenlib/BLI_math_vector.h
===================================================================
--- branches/render25/source/blender/blenlib/BLI_math_vector.h 2010-03-10 20:06:03 UTC (rev 27396)
+++ branches/render25/source/blender/blenlib/BLI_math_vector.h 2010-03-10 20:21:09 UTC (rev 27397)
@@ -72,6 +72,7 @@
MINLINE void mul_v3_v3(float r[3], float a[3]);
MINLINE void mul_v3_v3v3(float r[3], float a[3], float b[3]);
+MINLINE void madd_v2_v2fl(float r[2], float a[2], float f);
MINLINE void madd_v3_v3fl(float r[3], float a[3], float f);
MINLINE void madd_v3_v3v3(float r[3], float a[3], float b[3]);
MINLINE void madd_v2_v2v2fl(float r[2], const float a[2], const float b[2], const float f);
Modified: branches/render25/source/blender/blenlib/intern/math_vector_inline.c
===================================================================
--- branches/render25/source/blender/blenlib/intern/math_vector_inline.c 2010-03-10 20:06:03 UTC (rev 27396)
+++ branches/render25/source/blender/blenlib/intern/math_vector_inline.c 2010-03-10 20:21:09 UTC (rev 27397)
@@ -188,6 +188,12 @@
r[2] *= a[2];
}
+MINLINE void madd_v2_v2fl(float r[2], float a[2], float f)
+{
+ r[0] += a[0]*f;
+ r[1] += a[1]*f;
+}
+
MINLINE void madd_v3_v3fl(float r[3], float a[3], float f)
{
r[0] += a[0]*f;
More information about the Bf-blender-cvs
mailing list