This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RWStructuredBuffer<Cell> cell_buffer; | |
| RWStructuredBuffer<Particle> particle_buffer; | |
| ConstantBuffer<Uniforms, Std430DataLayout> uniforms; | |
| RWStructuredBuffer<float4x3> multimesh_buffer; | |
| static const int MAX_CELL_NEIGHBOURS = 23; | |
| static const int GRID_SIZE = 32; | |
| static const int CELL_BUFFER_SIZE = GRID_SIZE * GRID_SIZE * GRID_SIZE; | |
| static const int GRID_SEARCH_RAD = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env osascript -l JavaScript | |
| const App = Application.currentApplication(); | |
| App.includeStandardAdditions = true; | |
| const BINARY = '/usr/libexec/avconferenced'; | |
| function run(_) { | |
| const avconferenced = App.doShellScript( | |
| `ps -A | grep '${BINARY}' | awk '{print $1,$4}'`, |