mirror of
https://github.com/zeldaret/ss
synced 2026-08-31 09:20:48 -04:00
More sound effects and splits
This commit is contained in:
@@ -92,7 +92,7 @@ void dSnd3DActor_c::updateCameraDirectionDot() {
|
||||
updatePositionRelativeToListener();
|
||||
nw4r::math::VEC3 norm;
|
||||
VECNormalize(mPositionRelativeToListener, norm);
|
||||
mCameraDirectionDot = nw4r::math::VEC3Dot(&norm, dSnd3DManager_c::GetInstance()->getNrmCameraDirection());
|
||||
mCameraDirectionDot = nw4r::math::VEC3Dot(&norm, &dSnd3DManager_c::GetInstance()->getNrmCameraDirection());
|
||||
setFlag(0x20);
|
||||
}
|
||||
}
|
||||
@@ -106,7 +106,7 @@ void dSnd3DActor_c::updatePositionRelativeToCameraTarget() {
|
||||
|
||||
void dSnd3DActor_c::calculatePositionRelativeToCameraTarget() {
|
||||
nw4r::math::VEC3Sub(
|
||||
&mPositionRelativeToCameraTarget, &GetPosition(), dSnd3DManager_c::GetInstance()->getCameraTargetPos()
|
||||
&mPositionRelativeToCameraTarget, &GetPosition(), &dSnd3DManager_c::GetInstance()->getCameraTargetPos()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user