src/taesooLib/BaseLib/motion/IK_sdls/LinearR3.cpp
void GetOrtho( const VectorR3& u,  VectorR3& v )
{
	if ( u.x > 0.5 || u.x<-0.5 || u.y > 0.5 || u.y<-0.5 ) {
		v.Set ( u.y, -u.x, 0.0 );
	}
	else {
		v.Set ( 0.0, u.z, -u.y);
	}
	v.Normalize();
	return;
}
// Returns a vector v orthonormal to unit vector u
Returns a vector v orthonormal to unit vector u
Returns a vector v orthonormal to unit vector u
void GetOrtho( const VectorR3& u,  VectorR3& v )
{
	if ( u.x > 0.5 || u.x<-0.5 || u.y > 0.5 || u.y<-0.5 ) {
		v.Set ( u.y, -u.x, 0.0 );
	}
	else {
		v.Set ( 0.0, u.z, -u.y);
	}
	v.Normalize();
	return;
}
void GetOrtho ( const VectorR3 & u , VectorR3 & v ) { if ( u . x > 0.5 || u . x < -0.5 || u . y > 0.5 || u . y < -0.5 ) { v . Set ( u . y , - u . x , 0.0 ) ; } else { v . Set ( 0.0 , u . z , - u . y ) ; } v . Normalize ( ) ; return ; }
Returns a vector v orthonormal to unit vector u
Returns a vector v orthonormal to unit vector u