void Plane::setListenerPosition(Vector3 p){ BASS_3DVECTOR sposb = BASS_3DVECTOR(p.x,p.y,p.z); BASS_Set3DPosition(&sposb,NULL,NULL,NULL); }
Vector3::operator BASS_3DVECTOR(void) { return BASS_3DVECTOR(x,y,z); }
void Plane::setSoundPosition(Vector3 p){ BASS_3DVECTOR pos = BASS_3DVECTOR(p.x,p.y,p.z); BASS_ChannelSet3DPosition(motorSampleChannel,&pos,NULL,NULL); BASS_ChannelSet3DPosition(bulletSampleChannel,&pos,NULL,NULL); }