Merge pull request #48 from A-lex-Ra/main

небольшая, но важная поправка рейкаста
This commit is contained in:
MihailRis 2023-12-10 19:50:18 +03:00 committed by GitHub
commit 2ba9125804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ struct std::hash<rayvec3>{
class Rays{
protected:
static const bool IS_RAYS_BOX_CACHE_ON = true;
static const bool IS_RAYS_BOX_CACHE_ON = false;
static std::unordered_map<rayvec3, AABBFaces> raysBoxCache_; //[boxPos]: faces array
public: