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

Function VecSmearY

TSSimd.h:374–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372 }
373
374 inline vec_float VecSmearY(const vec_float& v)
375 {
376 #if defined(TERATHON_SSE)
377
378 return (_mm_shuffle_ps(v, v, _MM_SHUFFLE(1, 1, 1, 1)));
379
380 #elif defined(TERATHON_NEON)
381
382 return (vdupq_n_f32(vgetq_lane_f32(v, 1)));
383
384 #endif
385 }
386
387 inline vec_float VecSmearZ(const vec_float& v)
388 {

Callers 8

VecCmpltAny3DFunction · 0.85
VecCmpgtAny3DFunction · 0.85
VecHorizontalSum3DFunction · 0.85
VecDot3DFunction · 0.85
VecDot4DFunction · 0.85
VecPlaneDotPoint3DFunction · 0.85
VecTransformVector3DFunction · 0.85
VecTransformPoint3DFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected