Merge pull request #48 from A-lex-Ra/main
небольшая, но важная поправка рейкаста
This commit is contained in:
+1
-1
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user