Logo Search packages:      
Sourcecode: blender version File versions  Download package

SIMD_FORCE_INLINE void bt_vec_blend ( btVector3 &  vr,
const btVector3 &  va,
const btVector3 &  vb,
btScalar  blend_factor 
)

Vector blending Takes two vectors a, b, blends them together

Definition at line 38 of file btClipPolygon.h.

Referenced by bt_plane_clip_polygon_collect().

{
      vr = (1-blend_factor)*va + blend_factor*vb;
}


Generated by  Doxygen 1.6.0   Back to index