X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2Fchunk.cpp;h=190fe3d7b9e4c4aa25d4fbaf6745845c97b0565b;hb=5998b18978bd8e7a0c9deb516474634e1d3521c9;hp=c421be9d679fa45e0e715ab2c2feeddf7b3230cf;hpb=7c2a8b8285278b8a3077b311d82f05ea0463a96e;p=blank.git diff --git a/src/world/chunk.cpp b/src/world/chunk.cpp index c421be9..190fe3d 100644 --- a/src/world/chunk.cpp +++ b/src/world/chunk.cpp @@ -319,7 +319,7 @@ int Chunk::GetLight(int index) const noexcept { return light[index]; } -float Chunk::GetVertexLight(const Pos &pos, const BlockModel::Position &vtx, const Model::Normal &norm) const noexcept { +float Chunk::GetVertexLight(const Pos &pos, const BlockModel::Position &vtx, const EntityModel::Normal &norm) const noexcept { int index = ToIndex(pos); float light = GetLight(index);