mirror of
https://github.com/zeldaret/oot
synced 2026-08-15 21:00:06 -04:00
rename Matrix_TranslateThenRotateZYX to Matrix_RotateRPYf (#96)
* rename Matrix_TranslateThenRotateZYX to Matrix_RotateRPYf * rename Matrix_RotateRPYf to Matrix_JointPosition * rename Matrix_RotateZYX to Matrix_RotateRPY
This commit is contained in:
@@ -134,10 +134,10 @@ void Audio_NoteSetResamplingRate(NoteSubEu* noteSubEu, f32 resamplingRateInput)
|
||||
void Audio_NoteInit(Note* note) {
|
||||
if (note->playbackState.parentLayer->adsr.releaseRate == 0) {
|
||||
Audio_AdsrInit(¬e->playbackState.adsr, note->playbackState.parentLayer->seqChannel->adsr.envelope,
|
||||
¬e->playbackState.adsrVolScale);
|
||||
¬e->playbackState.adsrVolScale);
|
||||
} else {
|
||||
Audio_AdsrInit(¬e->playbackState.adsr, note->playbackState.parentLayer->adsr.envelope,
|
||||
¬e->playbackState.adsrVolScale);
|
||||
¬e->playbackState.adsrVolScale);
|
||||
}
|
||||
|
||||
note->playbackState.unk_04 = 0;
|
||||
@@ -576,8 +576,7 @@ Note* Audio_PopNodeWithValueLessEqual(AudioListItem* list, s32 limit) {
|
||||
}
|
||||
|
||||
for (best = cur; cur != list; cur = cur->next) {
|
||||
if (((Note*)best->u.value)->playbackState.priority >=
|
||||
((Note*)cur->u.value)->playbackState.priority) {
|
||||
if (((Note*)best->u.value)->playbackState.priority >= ((Note*)cur->u.value)->playbackState.priority) {
|
||||
best = cur;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user