mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
Merge pull request #48 from A-lex-Ra/main
небольшая, но важная поправка рейкаста
This commit is contained in:
commit
2ba9125804
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue