mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-10 12:54:50 -04:00
shadow fix
This commit is contained in:
@@ -7,11 +7,7 @@
|
||||
#include "SSystem/SComponent/c_bg_s_poly_pass_chk.h"
|
||||
#include "dusk/endian.h"
|
||||
|
||||
#if TARGET_LITTLE_ENDIAN
|
||||
struct cBgD_Vtx_t : public BE(Vec) {};
|
||||
#else
|
||||
struct cBgD_Vtx_t : public Vec {};
|
||||
#endif
|
||||
|
||||
class cBgS_Chk {
|
||||
public:
|
||||
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
virtual ~cM3dGTri() {}
|
||||
bool cross(const cM3dGCyl*, Vec*) const;
|
||||
void setPos(const Vec*, const Vec*, const Vec*);
|
||||
void setBg(const BE(Vec)*, const BE(Vec)*, const BE(Vec)*, const cM3dGPla*);
|
||||
void setBg(const Vec*, const Vec*, const Vec*, const cM3dGPla*);
|
||||
void set(const Vec*, const Vec*, const Vec*, const Vec*);
|
||||
bool Cross(cM3dGCps const& cps, cXyz* xyz) const { return cM3d_Cross_CpsTri(cps, *this, xyz); }
|
||||
bool Cross(cM3dGCyl const& cyl, cXyz* xyz) const { return this->cross(&cyl, xyz); }
|
||||
|
||||
Reference in New Issue
Block a user