Commit b64fbff 1 parent 61c21be commit b64fbff Copy full SHA for b64fbff
File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,6 @@ def render_block(
217
217
# TODO: rescale??
218
218
if rotation := element .rotation :
219
219
origin = np .array (rotation .origin )
220
-
221
220
element_transform *= (
222
221
Matrix44 .from_translation (origin )
223
222
* get_rotation_matrix (rotation .eulers )
@@ -229,7 +228,6 @@ def render_block(
229
228
# render each face of the element
230
229
for direction , face in element .faces .items ():
231
230
self .uniform ("texture0" ).value = texture_locs [face .texture .lstrip ("#" )]
232
-
233
231
vao = get_face_vao (element , direction , face )
234
232
vao .render (self .face_prog )
235
233
Original file line number Diff line number Diff line change 7
7
from hexdoc .minecraft .models .item import ItemModel
8
8
9
9
# MODEL_ID = "minecraft:block/oak_log"
10
- MODEL_ID = "minecraft:block/lectern"
10
+ # MODEL_ID = "minecraft:block/lectern"
11
11
# MODEL_ID = "minecraft:block/oak_stairs"
12
+ MODEL_ID = "minecraft:item/oak_trapdoor"
12
13
# MODEL_ID = "minecraft:block/dropper"
13
14
14
15
You can’t perform that action at this time.
0 commit comments