Neutral 3D physics contracts for MoUI
Dependencies
wzzc-dev/moui_3d_physics does not have a README file
fn ColliderDesc::new(shape~ : Shape, body? : BodyId?, sensor? : Bool, friction? : Double, restitution? : Double) -> ColliderDescpub(all) struct PhysicsWorld {
gravity : Vec3
next_body : Int64
next_collider : Int64
bodies : Map[BodyId, BodyDesc]
colliders : Map[ColliderId, ColliderDesc]
} derive(Debug)pub(all) struct RayHit {
collider : ColliderId
distance : Double
position : Vec3
normal : Vec3
} derive(Debug)fn RayHit::new(collider~ : ColliderId, distance~ : Double, position~ : Vec3, normal~ : Vec3) -> RayHitInstall
Download zipNeutral 3D physics contracts for MoUI
Dependencies