NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
fixed_type.hpp File Reference

Contains macros and definitions for fixed-width types. More...

#include <climits>
#include <limits>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <type_traits>

Go to the source code of this file.

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...

Namespaces

namespace  nnl

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

Detailed Description

Contains macros and definitions for fixed-width types.