34 #ifdef ENABLE_NE10_PHYSICS_COMPUTE_AABB_VEC2F_NEON 40 asm (
"ne10_physics_compute_aabb_vertex4_vec2f_neon");
41 #endif // ENABLE_NE10_PHYSICS_COMPUTE_AABB_VEC2F_NEON 81 #ifdef ENABLE_NE10_PHYSICS_COMPUTE_AABB_VEC2F_NEON 96 if (residual_loops > 0)
107 lower = ne10_mul_matvec_float (*xf, vertices[main_loops]);
112 lower2.
x = aabb->
c1.
r1 + radius->
x;
113 lower2.
y = aabb->
c1.
r2 + radius->
y;
114 upper2.
x = aabb->
c2.
r1 - radius->
x;
115 upper2.
y = aabb->
c2.
r2 - radius->
y;
116 lower = ne10_mul_matvec_float (*xf, vertices[main_loops]);
118 lower = min_2f (lower, lower2);
119 upper = max_2f (upper, upper2);
122 for (i = main_loops + 1; i < vertex_count; ++i)
124 v = ne10_mul_matvec_float (*xf, vertices[i]);
125 lower = min_2f (lower, v);
126 upper = max_2f (upper, v);
129 aabb->
c1.
r1 = lower.
x - radius->
x;
130 aabb->
c1.
r2 = lower.
y - radius->
y;
131 aabb->
c2.
r1 = upper.
x + radius->
x;
132 aabb->
c2.
r2 = upper.
y + radius->
y;
135 #endif // ENABLE_NE10_PHYSICS_COMPUTE_AABB_VEC2F_NEON void ne10_physics_compute_aabb_vertex4_vec2f_neon(ne10_mat2x2f_t *aabb, ne10_vec2f_t *vertices, ne10_mat2x2f_t *xf, ne10_vec2f_t *radius, ne10_uint32_t vertex_count) asm("ne10_physics_compute_aabb_vertex4_vec2f_neon")
A 2-tuple of ne10_float32_t values.
void ne10_physics_compute_aabb_vec2f_neon(ne10_mat2x2f_t *aabb, ne10_vec2f_t *vertices, ne10_mat2x2f_t *xf, ne10_vec2f_t *radius, ne10_uint32_t vertex_count)
Specific implementation of ne10_physics_compute_aabb_vec2f using NEON SIMD capabilities.