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

Function unit4

Source/astcenc_vecmathlib.h:311–314  ·  view source on GitHub ↗

* @brief Factory that returns a unit length 4 component vfloat4. */

Source from the content-addressed store, hash-verified

309 * @brief Factory that returns a unit length 4 component vfloat4.
310 */
311static ASTCENC_SIMD_INLINE vfloat4 unit4()
312{
313 return vfloat4(0.5f);
314}
315
316/**
317 * @brief Factory that returns a unit length 3 component vfloat4.

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected