|
NSUNI/NSLAR Library a250670
|
Contains macros and definitions for fixed-width types. More...
Classes | |
| struct | nnl::Vec4< T > |
| 4D vector template with packed storage More... | |
| struct | nnl::Vec3< T > |
| 3D vector template with packed storage More... | |
| struct | nnl::Vec2< T > |
| 2D vector template with packed storage More... | |
| struct | nnl::Mat4< T > |
| 4x4 matrix template with packed storage More... | |
Macros | |
| #define | NNL_PACK(...) |
| A structure packing directive. | |
Typedefs | |
| using | nnl::u64 = std::uint64_t |
| 64-bit unsigned integer | |
| using | nnl::i64 = std::int64_t |
| 64-bit signed integer | |
| using | nnl::f32 = float |
| 32-bit floating point | |
| using | nnl::u32 = std::uint32_t |
| 32-bit unsigned integer | |
| using | nnl::i32 = std::int32_t |
| 32-bit signed integer | |
| using | nnl::u16 = std::uint16_t |
| 16-bit unsigned integer | |
| using | nnl::i16 = std::int16_t |
| 16-bit signed integer | |
| using | nnl::u8 = std::uint8_t |
| 8-bit unsigned integer | |
| using | nnl::i8 = std::int8_t |
| 8-bit signed integer | |
Contains macros and definitions for fixed-width types.
| struct nnl::Vec4 |
4D vector template with packed storage
| T | Component type |
| struct nnl::Vec3 |
3D vector template with packed storage
| T | Component type |
| struct nnl::Vec2 |
2D vector template with packed storage
| T | Component type |
| struct nnl::Mat4 |
4x4 matrix template with packed storage
| T | Component type |
| #define NNL_PACK | ( | ... | ) |
A structure packing directive.
Ensures the in-memory representation of a structure matches its raw binary format.
| using nnl::f32 = float |
32-bit floating point
| using nnl::i16 = std::int16_t |
16-bit signed integer
| using nnl::i32 = std::int32_t |
32-bit signed integer
| using nnl::i64 = std::int64_t |
64-bit signed integer
| using nnl::i8 = std::int8_t |
8-bit signed integer
| using nnl::u16 = std::uint16_t |
16-bit unsigned integer
| using nnl::u32 = std::uint32_t |
32-bit unsigned integer
| using nnl::u64 = std::uint64_t |
64-bit unsigned integer
| using nnl::u8 = std::uint8_t |
8-bit unsigned integer