primitive meshes
This commit is contained in:
@@ -6,6 +6,22 @@ edition = "2024"
|
||||
[lib]
|
||||
path = "src/lib.rs"
|
||||
|
||||
[features]
|
||||
default = ["all-prims"]
|
||||
|
||||
# Primitives procédurales (zéro dep externe)
|
||||
prim-cube = []
|
||||
prim-plane = []
|
||||
prim-sphere = []
|
||||
prim-cylinder = []
|
||||
prim-cone = []
|
||||
prim-torus = []
|
||||
all-prims = ["prim-cube", "prim-plane", "prim-sphere", "prim-cylinder", "prim-cone", "prim-torus"]
|
||||
|
||||
# Import de fichiers
|
||||
import-obj = []
|
||||
import-gltf = []
|
||||
|
||||
[dependencies]
|
||||
wgpu = "30.0.0" # Vérifiez la version la plus récente
|
||||
winit = "0.30.13" # For window management — pinned to match examples
|
||||
|
||||
Reference in New Issue
Block a user