X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2Fworld.cpp;h=c43747a8c89f60089e560d54dbb49b01ce97a930;hb=e20be973f6ef23164ae54398088e1b14d9bac3ab;hp=3a1aac251f0bbb71cb9cd1414b9e55533ce9bd86;hpb=ee920127d653b8a3cfbee1efefde909ffa177662;p=blank.git diff --git a/src/world/world.cpp b/src/world/world.cpp index 3a1aac2..c43747a 100644 --- a/src/world/world.cpp +++ b/src/world/world.cpp @@ -523,7 +523,6 @@ bool World::Intersection( bool World::Intersection(const Entity &e, const EntityState &s, std::vector &col) { // TODO: make special case for entities here and in Chunk::Intersection so entity's bounding radius // doesn't have to be calculated over and over again (sqrt) - AABB box = e.Bounds(); glm::ivec3 reference = s.pos.chunk; glm::mat4 M = s.Transform(reference); @@ -534,7 +533,7 @@ bool World::Intersection(const Entity &e, const EntityState &s, std::vector