feat: migrate to glam whenever relevant + migrate testbed to kiss3d instead of bevy + release v0.32.0 (#909)

* feat: migrate to glam whenever relevant + migrate testbed to kiss3d instead of bevy

* chore: update changelog

* Fix warnings and tests

* Release v0.32.0
This commit is contained in:
Sébastien Crozet
2026-01-09 17:26:36 +01:00
committed by GitHub
parent 48de83817e
commit 0b7c3b34ec
265 changed files with 8501 additions and 8575 deletions

View File

@@ -23,8 +23,8 @@ pub fn init_world(testbed: &mut Testbed) {
// Build the rigid body.
let rb = RigidBodyBuilder::dynamic()
.translation(vector![x, y])
.linvel(vector![x * 10.0, y * 10.0])
.translation(Vector::new(x, y))
.linvel(Vector::new(x * 10.0, y * 10.0))
.angvel(100.0)
.linear_damping((i + 1) as f32 * subdiv * 10.0)
.angular_damping((num - i) as f32 * subdiv * 10.0);
@@ -43,8 +43,8 @@ pub fn init_world(testbed: &mut Testbed) {
colliders,
impulse_joints,
multibody_joints,
Vector::zeros(),
Vector::ZERO,
(),
);
testbed.look_at(point![3.0, 2.0], 50.0);
testbed.look_at(Vec2::new(3.0, 2.0), 50.0);
}