This commit is contained in:
Shinovon 2026-05-01 15:38:34 +05:00
parent 33a8324d08
commit 2e77ead661
2 changed files with 4 additions and 16 deletions

View file

@ -80,7 +80,8 @@ void TransformPoints(CVuVector *out, int n, const CMatrix &mat, const RwV3d *in,
": : "r" (out) , "r" (n), "r" (&mat), "r" (in), "r" (stride): "memory");
#else
while(n--){
*out = mat * *in;
const RwV3d i = *in;
*out = mat * i;
in = (RwV3d*)((uint8*)in + stride);
out++;
}
@ -110,7 +111,8 @@ void TransformPoints(CVuVector *out, int n, const CMatrix &mat, const CVuVector
": : "r" (out) , "r" (n), "r" (&mat) ,"r" (in): "memory");
#else
while(n--){
*out = mat * *in;
const RwV3d i = *in;
*out = mat * i;
in++;
out++;
}