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
+1 -1
View File
@@ -44,7 +44,7 @@ struct std::hash<rayvec3>{
class Rays{ class Rays{
protected: 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 static std::unordered_map<rayvec3, AABBFaces> raysBoxCache_; //[boxPos]: faces array
public: public: