Bevy enforces the need to declare what kind of indices you're using, either U32 or U16
It results in this error when using the current master of bevy:
C:\ProjectFiles\bevy_tiled>cargo run --example iso_main
Compiling bevy_tiled v0.1.0 (C:\ProjectFiles\bevy_tiled)
error[E0433]: failed to resolve: use of undeclared type or module `Indices`
--> src\loader.rs:264:47
|
264 | ... indices: Some(Indices::U32(indices)),
| ^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 | use crate::shape::Indices;
|
Due to this commit: https://github.com/bevyengine/bevy/commit/f7c8882c0408902ce6d5e22ac05f51d0f5381ff1
Bevy enforces the need to declare what kind of indices you're using, either U32 or U16
It results in this error when using the current master of bevy: