mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-19 04:10:54 +00:00
fix batch on neon
This commit is contained in:
parent
add7f2a5d7
commit
c09d5a4579
4 changed files with 21 additions and 21 deletions
|
|
@ -488,11 +488,11 @@ namespace math_backend::mat44::dispatch
|
|||
|
||||
};
|
||||
|
||||
gMat44.batch_mul_pos3 = [](const float* m, const float* pts, size_t count, float* result_ptrs) {
|
||||
size_t i = 0;
|
||||
gMat44.batch_mul_pos3 = [](const float* m, const float* pts, int count, float* result_ptrs) {
|
||||
int i = 0;
|
||||
for (; i < count; i++)
|
||||
{
|
||||
size_t idx = i * 3;
|
||||
int idx = i * 3;
|
||||
gMat44.mul_pos3(m, &pts[idx], &result_ptrs[idx]);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue