/** * vsg_vector3@t@_copy@alt_t@: * @dst: a #VsgVector3@alt_t@ * @src: a #VsgVector3@t@ * * Copies @src to @dst, taking care of type conversion. */ void vsg_vector3@t@_copy@alt_t@ (const VsgVector3@t@ *src, VsgVector3@alt_t@ *dst) { #ifdef VSG_CHECK_PARAMS g_return_if_fail (dst != NULL); g_return_if_fail (src != NULL); #endif vsg_vector3@t@_copy@alt_t@_inline (src, dst); }
/** * vsg_quaternion@t@_make_rotate@t@: * @quat: a #VsgQuaternion@t@ * @angle: an angle in radians * @vec: a #VsgVector3@t@ * * Sets @quat components so as to correspond to a 3D rotation of angle * @angle and axis @vec. */ void vsg_quaternion@t@_make_rotate@t@ (VsgQuaternion@t@ *quat, @type@ angle, const VsgVector3@t@ *vec) { #ifdef VSG_CHECK_PARAMS g_return_if_fail (quat != NULL); g_return_if_fail (vec!= NULL); #endif vsg_quaternion@t@_make_rotate@t@_inline (quat, angle, vec); }