Exemple #1
0
CVec3 CVec3::interpolateTo(const CVec3 &other, float fraction) const
{
	static CVec3 dir;
	dir.set(other);
	dir -= *(this);
	return (*this) + dir * fraction;
}