Fix animated textures rendering wrong
This commit is contained in:
parent
323510856c
commit
bd3024a405
@ -649,6 +649,10 @@ cdef class BlockModels(object):
|
|||||||
# v += h
|
# v += h
|
||||||
# v += t
|
# v += t
|
||||||
|
|
||||||
|
# TODO: read texture .mcmeta files
|
||||||
|
# use top square of texture for now.
|
||||||
|
h = w
|
||||||
|
|
||||||
u1 = <short>(l + (u1 * w) / 16.)
|
u1 = <short>(l + (u1 * w) / 16.)
|
||||||
u2 = <short>(l + (u2 * w) / 16.)
|
u2 = <short>(l + (u2 * w) / 16.)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user