This repository has been archived by the owner on May 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Changes ## Fixed * Separated non-public API out * Fixed issue with `tiles_to_renderer_parts` (now `dense_tiles_to_renderer_parts`) which pushed ALL the tiles, not just a single layer. ## Added * A lot more documentation * Added Z layers to the tile map * Versioned prelude with most likely used methods, traits, structs, enums ## API Changed * MANY public API were sorted and removed from public API * Z layer added to `TileSetter::push` method: * `MapResult` -> `TileMapResult` * `MapError` -> `TileMapError` ### Before ```rust let mut setter = TileSetter::new(); // Sets a tile at x1, y1, z0. setter.push(Vec3::new(1.0, 1.0, 0.0); ``` ### After ```rust let mut setter = TileSetter::new(); // Sets a tile at x1, y1, z0 and z_layer 0. setter.push(Vec3::new(1.0, 1.0, 0.0), 0); ``` * Deprecated`TileMap::new_chunk_with_tiles` (Sorry! No longer fits in the scope...)
- Loading branch information
1 parent
4d3d8c5
commit f348f93
Showing
18 changed files
with
2,682 additions
and
1,561 deletions.
There are no files selected for viewing
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Oops, something went wrong.