Skip to content

Instantly share code, notes, and snippets.

use rapier3d::na;
use rapier3d::parry;
use rapier3d::prelude::*;
fn main() {
let mut rigid_body_set = RigidBodySet::new();
let mut collider_set = ColliderSet::new();
let start_pos = na::Isometry3::from(na::Translation3::new(-6.008857, -315.2329, -175.45639));
let player_shape = ColliderBuilder::capsule_y(0.5, 0.5)
there are 16 registers in the following code's ISA.
register 0 is also special, it's the accumulator; many instructions write to it
"in" and "out" are special- they access "audio registers"
(there's 4: 0 and 1 are input audio, 2 is a constant table; 3 is output audio (Out always writes here))
"seek" and "tell" seek/tell in those audio registers