SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
sourcepp::math::QuatCompressed48 Struct Reference

Lower precision Quat compressed to 6 bytes. More...

#include <Math.h>

Collaboration diagram for sourcepp::math::QuatCompressed48:

Public Member Functions

Quat decompress () const
 

Public Attributes

uint16_t x: 16
 
uint16_t y: 16
 
uint16_t z: 15
 
uint16_t wn: 1
 

Detailed Description

Lower precision Quat compressed to 6 bytes.

Definition at line 333 of file Math.h.

Member Function Documentation

◆ decompress()

Quat sourcepp::math::QuatCompressed48::decompress ( ) const
inline

Definition at line 339 of file Math.h.

Member Data Documentation

◆ wn

uint16_t sourcepp::math::QuatCompressed48::wn

Definition at line 337 of file Math.h.

◆ x

uint16_t sourcepp::math::QuatCompressed48::x

Definition at line 334 of file Math.h.

◆ y

uint16_t sourcepp::math::QuatCompressed48::y

Definition at line 335 of file Math.h.

◆ z

uint16_t sourcepp::math::QuatCompressed48::z

Definition at line 336 of file Math.h.


The documentation for this struct was generated from the following file: