-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
124 lines (110 loc) · 3.21 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[package]
name = "yatsr"
version = "0.1.0"
edition = "2021"
[[example]]
name="basic_triangle"
path="examples/1.basic/1.triangle/main.rs"
[[example]]
name="basic_super_sampling"
path="examples/1.basic/2.super-sampling/main.rs"
[[example]]
name="basic_draw_model"
path="examples/1.basic/3.draw_model/main.rs"
[[example]]
name="basic_z_buffer"
path="examples/1.basic/4.z-buffer/main.rs"
[[example]]
name="basic_pipeline"
path="examples/1.basic/5.pipeline/main.rs"
[[example]]
name="basic_alpha"
path="examples/1.basic/6.alpha/main.rs"
[[example]]
name="basic_bitmap"
path="examples/1.basic/7.bitmap-font/main.rs"
[[example]]
name="transform_2d"
path="examples/2.transform/1.2d/main.rs"
[[example]]
name="transform_2d_matrix"
path="examples/2.transform/2.2d-matrix/main.rs"
[[example]]
name="transform_3d_viewport"
path="examples/2.transform/3.3d-viewport/main.rs"
[[example]]
name="transform_3d_rotation"
path="examples/2.transform/4.3d-rotation/main.rs"
[[example]]
# 变换法向量
name="transform_3d_normal_transform"
path="examples/2.transform/4.3d-rotation/normal.rs"
[[example]]
name="transform_arbitrary_rotation"
path="examples/2.transform/5.arbitrary-rotation/main.rs"
[[example]]
name="transform_orthographic_projection"
path="examples/2.transform/6.orthographic-projection/main.rs"
[[example]]
name="transform_viewing"
path="examples/2.transform/7.viewing/main.rs"
[[example]]
name="transform_viewing_moving_camera"
path="examples/2.transform/7.viewing/moving-camera.rs"
[[example]]
name="transform_perspective"
path="examples/2.transform/8.perspective-projection/main.rs"
[[example]]
name="transform_perspective_fov"
path="examples/2.transform/8.perspective-projection/fov.rs"
[[example]]
name="texture_diffuse"
path="examples/3.texture/1.diffuse/main.rs"
[[example]]
name="texture_mosaic"
path="examples/3.texture/2.bilinear/mosaic.rs"
[[example]]
name="texture_bilinear"
path="examples/3.texture/2.bilinear/bilinear.rs"
[[example]]
name="texture_perspective"
path="./examples/3.texture/3.perspective-correct-interpolation/demo1.rs"
[[example]]
name="texture_perspective_world_space"
path="./examples/3.texture/3.perspective-correct-interpolation/demo2.rs"
[[example]]
name="texture_perspective_correction"
path="./examples/3.texture/3.perspective-correct-interpolation/demo3.rs"
[[example]]
name="texture_aliasing"
path="./examples/3.texture/4.mipmap/aliasing.rs"
[[example]]
name="texture_mipmap"
path="./examples/3.texture/4.mipmap/mipmap.rs"
[[example]]
name="texture_sat"
path="./examples/3.texture/5.anisotropic/sat.rs"
[[example]]
name="texture_unconstrained"
path="./examples/3.texture/5.anisotropic/unconstrained.rs"
[[example]]
name="texture_cubemap"
path="./examples/3.texture/6.cubemap/main.rs"
[[example]]
name="texture_bumpmap_a"
path="./examples/3.texture/7.bumpmap/a.rs"
[[example]]
name="texture_bumpmap_normal"
path="./examples/3.texture/7.bumpmap/normal.rs"
[[example]]
name="texture_bumpmap_tangent"
path="./examples/3.texture/7.bumpmap/tangent.rs"
[[example]]
name="texture_bumpmap_tangent_trans"
path="./examples/3.texture/7.bumpmap/tangent_trans.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
sdl2 = "0.36.0"
[profile.release-with-debug]
inherits = "release"
debug = true