MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / vfloat2

Function vfloat2

Source/astcenc_vecmathlib.h:345–348  ·  view source on GitHub ↗

* @brief Factory that returns a 2 component vfloat4. */

Source from the content-addressed store, hash-verified

343 * @brief Factory that returns a 2 component vfloat4.
344 */
345static ASTCENC_SIMD_INLINE vfloat4 vfloat2(float a, float b)
346{
347 return vfloat4(a, b, 0.0f, 0.0f);
348}
349
350/**
351 * @brief Normalize a non-zero length vector to unit length.

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected