|
Space Sim
|
Zeros out the min and the max before computing the bounds over all particles. More...
Go to the source code of this file.
Data Structures | |
| struct | Particle |
| struct | Node |
Macros | |
| #define | BODY_COUNT 15000 |
| #define | MAX_NODES 45000 |
| #define | WORKGROUP_SIZE 128 |
| #define | MAX_DEPTH 64 |
Functions | |
| layout (local_size_x=WORKGROUP_SIZE) in | |
| layout (std430, binding=1) buffer ParticleData | |
| uint | floatToOrderedUint (float f) |
| void | main () |
Zeros out the min and the max before computing the bounds over all particles.
Definition in file zero.comp.
| struct Particle |
| struct Node |
| layout | ( | local_size_x | = WORKGROUP_SIZE | ) |
References Particle::acc, layout(), mat, Particle::p_m, Particle::vel, and WORKGROUP_SIZE.
| layout | ( | std430 | , |
| binding | = 1 ) |
Definition at line 21 of file zero.comp.
References BODY_COUNT, and layout().
| uint floatToOrderedUint | ( | float | f | ) |
Definition at line 71 of file zero.comp.
References floatToOrderedUint().
| void main | ( | ) |
Definition at line 77 of file zero.comp.
References floatToOrderedUint(), and main().