MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / unit4

Function unit4

external/astc-encoder/Source/astcenc_vecmathlib.h:287–290  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

285 * @brief Factory that returns a unit length 4 component vfloat4.
286 */
287static ASTCENC_SIMD_INLINE vfloat4 unit4()
288{
289 return vfloat4(0.5f);
290}
291
292/**
293 * @brief Factory that returns a unit length 3 component vfloat4.

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected