MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / VecSmearX

Function VecSmearX

TSSimd.h:361–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 }
360
361 inline vec_float VecSmearX(const vec_float& v)
362 {
363 #if defined(TERATHON_SSE)
364
365 return (_mm_shuffle_ps(v, v, _MM_SHUFFLE(0, 0, 0, 0)));
366
367 #elif defined(TERATHON_NEON)
368
369 return (vdupq_n_f32(vgetq_lane_f32(v, 0)));
370
371 #endif
372 }
373
374 inline vec_float VecSmearY(const vec_float& v)
375 {

Callers 5

VecProject3DFunction · 0.85
VecReject3DFunction · 0.85
VecTransformVector3DFunction · 0.85
VecTransformPoint3DFunction · 0.85
InverseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected