mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 02:25:32 -04:00
X
This commit is contained in:
parent
10965ab20e
commit
b4d0042c75
@ -1462,6 +1462,7 @@ static float BlockModel_GetEyeY(struct Entity* e) {
|
|||||||
BlockID block = e->ModelBlock;
|
BlockID block = e->ModelBlock;
|
||||||
float minY = Blocks.MinBB[block].Y;
|
float minY = Blocks.MinBB[block].Y;
|
||||||
float maxY = Blocks.MaxBB[block].Y;
|
float maxY = Blocks.MaxBB[block].Y;
|
||||||
|
return (minY + maxY) / 2.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void BlockModel_GetSize(struct Entity* e) {
|
static void BlockModel_GetSize(struct Entity* e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user