Skip to content

Commit 90b71a9

Browse files
committed
Release v0.41.0
1 parent 333abc8 commit 90b71a9

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
1-
# Unreleased
1+
# v0.41.0
22

33
## Breaking Changes
44

5-
- `CanvasSetup` no longer implements `Copy` (now contains a `String` field).
6-
- `CanvasSetup` has a new required field `canvas_id: String`. Use `..Default::default()` to fill it in.
5+
- Removed the `parry` feature flag and `parry3d` dependency to avoid circular dependencies when publishing.
6+
`SceneNode3d::trimesh`/`add_trimesh` and `MeshManager3d::add_trimesh` now take `(Vec<Vec3>, Vec<[u32; 3]>, ...)` instead of a `parry3d::shape::TriMesh`. The `From<TriMesh> for RenderMesh` conversion and the `parry3d` re-export are removed.
7+
- `CanvasSetup` no longer implements `Copy` (now contains a `String` field) and has a new required field `canvas_id: String`. Use `..Default::default()` to fill it in. ([#372](https://github.com/dimforge/kiss3d/pull/372))
8+
- `FixedView2d::new()` now takes `(CoordinateSystem2d, bool)` parameters instead of no arguments. Use `FixedView2d::default()` for the previous behavior. ([#354](https://github.com/dimforge/kiss3d/pull/354))
9+
- Removed the `decomp` example (depended on `parry`).
10+
- Bumped dependencies: `wgpu` 27 → 29, `glamx` 0.1 → 0.2, `egui`/`egui-wgpu` 0.33 → 0.34, `getrandom` 0.3 → 0.4, `oneshot` 0.1 → 0.2, `rand` (dev) 0.9 → 0.10.
711

812
## New Features
913

10-
- Added `canvas_id` field to `CanvasSetup` to allow configuring the HTML canvas element ID used on WASM targets (defaults to `"canvas"`).
11-
- Implemented `Default` for `CanvasSetup`.
14+
- `FixedView2d`: added `CoordinateSystem2d` enum with `CenterUp` (default, unchanged) and `TopLeftDown` (top-left origin, Y-down) coordinate systems, and a configurable `apply_hidpi` flag. ([#354](https://github.com/dimforge/kiss3d/pull/354))
15+
- Added new `dda_raycast2d` example demonstrating 2D ray casting with the top-left coordinate system. ([#354](https://github.com/dimforge/kiss3d/pull/354))
16+
- `Window::new_with_window_attributes()`: create a window from a `winit::window::WindowAttributes` for fine-grained control. ([#364](https://github.com/dimforge/kiss3d/pull/364))
17+
- `Window::new_hidden_with_size()`: create a hidden window with custom dimensions. ([#365](https://github.com/dimforge/kiss3d/pull/365))
18+
- `Window::rebind_close_key()` / `rebind_close_modifiers()`: customize or disable the window-close keybinding (default: Escape). ([#367](https://github.com/dimforge/kiss3d/pull/367))
19+
- `PanZoomCamera2d`: added `zoom_step()` / `set_zoom_step()` ([#362](https://github.com/dimforge/kiss3d/pull/362)), and `rebind_drag_modifier()` / `rebind_zoom_modifier()` for modifier-gated drag and zoom. ([#360](https://github.com/dimforge/kiss3d/pull/360))
20+
- `OrbitCamera3d`: added `fov()` / `set_fov()`. ([#361](https://github.com/dimforge/kiss3d/pull/361))
21+
- Implemented `Default` for `CanvasSetup`. ([#372](https://github.com/dimforge/kiss3d/pull/372))
1222

1323
# v0.40.0
1424

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["Sébastien Crozet <developer@crozet.re>"]
33
name = "kiss3d"
4-
version = "0.40.0"
4+
version = "0.41.0"
55

66
autoexamples = true
77
description = "Keep it simple, stupid, 2D and 3D graphics engine for Rust."

0 commit comments

Comments
 (0)