249
248
return lhs[0]*rhs[0]+lhs[1]*rhs[1]+lhs[2]*rhs[2]+rhs[3];
252
264
/** Compute the dot product of a Vec4d and a (Vec3,1.0). */
253
265
inline Vec4d::value_type operator * (const Vec4d& lhs,const Vec3d& rhs)
255
267
return lhs[0]*rhs[0]+lhs[1]*rhs[1]+lhs[2]*rhs[2]+lhs[3];
258
282
} // end of namespace osg