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

Function vfloat2

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

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

Source from the content-addressed store, hash-verified

319 * @brief Factory that returns a 2 component vfloat4.
320 */
321static ASTCENC_SIMD_INLINE vfloat4 vfloat2(float a, float b)
322{
323 return vfloat4(a, b, 0.0f, 0.0f);
324}
325
326/**
327 * @brief Normalize a non-zero length vector to unit length.

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected