Nudge Physics
A single file, header-only 3D physics library
Loading...
Searching...
No Matches
nudge::UserData64Bit Union Reference

Storage struct for user data (by default used inside context_t): a per-context 64-bit user space in 11 different variable names that share the same space, so that ONLY one of them must be chosen and used. More...

#include <nudge.h>

Public Attributes

int64_t i64
 
uint64_t u64
 
double f64
 
int32_t i32 [2]
 
uint32_t u32 [2]
 
float f32 [2]
 
int16_t i16 [4]
 
uint16_t u16 [4]
 
int8_t i8 [8]
 
uint8_t u8 [8]
 

Detailed Description

Storage struct for user data (by default used inside context_t): a per-context 64-bit user space in 11 different variable names that share the same space, so that ONLY one of them must be chosen and used.

Member Data Documentation

◆ i64

int64_t nudge::UserData64Bit::i64

◆ u64

uint64_t nudge::UserData64Bit::u64

◆ f64

double nudge::UserData64Bit::f64

◆ i32

int32_t nudge::UserData64Bit::i32[2]

◆ u32

uint32_t nudge::UserData64Bit::u32[2]

◆ f32

float nudge::UserData64Bit::f32[2]

◆ i16

int16_t nudge::UserData64Bit::i16[4]

◆ u16

uint16_t nudge::UserData64Bit::u16[4]

◆ i8

int8_t nudge::UserData64Bit::i8[8]

◆ u8

uint8_t nudge::UserData64Bit::u8[8]

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