* Free the data associated with this audio sample
*/
void free_data() {
- if ( _data ) free( _data ); _data = NULL;
+ if ( _data != NULL ) free( _data ); _data = NULL;
}
/**
_orientation = ori; _changed = true;
}
- inline void set_rotation( const SGQuatd& ori ) {
- _rotation = ori; _changed = true;
+ inline void set_rotation( const SGQuatd& ec2body ) {
+ _rotation = ec2body; _changed = true;
}
/**