mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-23 04:12:04 +00:00
11 lines
227 B
C
11 lines
227 B
C
#include "pspmath.h"
|
|
|
|
void vfpu_identity_matrix(ScePspFMatrix4 *m) {
|
|
__asm__ volatile (
|
|
"vmidt.q M000\n"
|
|
"sv.q C000, 0 + %0\n"
|
|
"sv.q C010, 16 + %0\n"
|
|
"sv.q C020, 32 + %0\n"
|
|
"sv.q C030, 48 + %0\n"
|
|
:"=m"(*m));
|
|
}
|