-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
49 lines (43 loc) · 1.3 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "g3"
version = "0.1.4"
description = "Neat library for computer graphics based on geometric algebra"
authors = ["Werner Laurensse <[email protected]>"]
edition = "2021"
resolver = "2"
homepage = "https://github.com/wrnrlr/g3"
repository = "https://github.com/wrnrlr/g3"
readme = "readme.md"
license = "ISC"
keywords = ["math", "graphics", "geometry"]
categories = ["graphics", "mathematics", "wasm"]
[lib]
[dependencies]
glam = { version = "0.22.0", optional = true }
mint = { version = "0.5.9", optional = true }
hecs = { version = "0.9.1", optional = true }
glow = { version = "0.11.2", optional = true }
bytemuck = { version = "1.12.3", optional = true, features = ["derive", "nightly_portable_simd"] }
egui = { version = "0.19", features = ["mint"], optional = true }
eframe = { version = "0.19", features = ["persistence"], optional = true }
winit = { version = "0.27.5", optional = true }
[features]
renderer = ["glam", "hecs", "glow", "bytemuck"]
[[example]]
name = "renderer"
required-features = ["renderer", "egui", "eframe", "eframe/glow"]
#[[example]]
#name = "ball"
#required-features = ["plot"]
#
#[[example]]
#name = "differentiation"
#required-features = ["plot"]
#
#[[example]]
#name = "icosahedron"
#required-features = ["plot"]
#
#[[example]]
#name = "planes"
#required-features = ["plot"]