init
This commit is contained in:
commit
87bff164f1
416 files changed
+279512
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#version 450
|
||||
#extension GL_GOOGLE_include_directive : require
|
||||
layout(local_size_x = 64) in;
|
||||
#include "rigid_common.glsl"
|
||||
|
||||
// Copies the sub-step result back into the body state.
|
||||
void main() {
|
||||
uint b = gl_GlobalInvocationID.x;
|
||||
if (int(b) >= bhdr.x) return;
|
||||
bodies[b] = bnext[b];
|
||||
}
|
||||
Reference in new issue
Block a user