Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
NBodyImpact Struct Reference

Records a confinement boundary hit for visual effects. More...

#include <nbody_types.h>

Data Fields

vec3 position
 
vec3 color
 
float velocity
 
bool active
 

Detailed Description

Records a confinement boundary hit for visual effects.

Field Documentation

◆ active

bool NBodyImpact::active

True if body hit the boundary this frame.

◆ color

vec3 NBodyImpact::color

Body albedo at impact.

◆ position

vec3 NBodyImpact::position

World position of impact.

◆ velocity

float NBodyImpact::velocity

Peak outward radial speed this frame.


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