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

Storage struct for user data (by default used inside BodyInfo): a per-body 32-bit user space in 7 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

int32_t i32
 
uint32_t u32
 
float f32
 
int16_t i16 [2]
 
uint16_t u16 [2]
 
int8_t i8 [4]
 
uint8_t u8 [4]
 

Detailed Description

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

Member Data Documentation

◆ i32

int32_t nudge::UserData32Bit::i32

◆ u32

uint32_t nudge::UserData32Bit::u32

◆ f32

float nudge::UserData32Bit::f32

◆ i16

int16_t nudge::UserData32Bit::i16[2]

◆ u16

uint16_t nudge::UserData32Bit::u16[2]

◆ i8

int8_t nudge::UserData32Bit::i8[4]

◆ u8

uint8_t nudge::UserData32Bit::u8[4]

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