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

One active shockwave expanding from an impact point. More...

#include <shockwave.h>

Data Fields

vec3 position
 
float start_time
 
vec3 color
 
float intensity
 

Detailed Description

One active shockwave expanding from an impact point.

Field Documentation

◆ color

vec3 ShockwaveEvent::color

HDR color (derived from body albedo).

◆ intensity

float ShockwaveEvent::intensity

Based on impact velocity (0-1 range).

◆ position

vec3 ShockwaveEvent::position

World-space impact position.

◆ start_time

float ShockwaveEvent::start_time

Simulation time when the impact occurred.


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