mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-22 10:29:48 +00:00
revert all code back except platform
This commit is contained in:
parent
a86d333478
commit
13010f10fa
16 changed files with 90 additions and 98 deletions
|
|
@ -23,18 +23,18 @@
|
|||
/*public*/ static const int C = 2; // The Z value of the plane's normal
|
||||
/*public*/ static const int D = 3; // The distance the plane is from the origin
|
||||
|
||||
/*public*/ float** m_Frustum; // = /*new*/ float[16][16];
|
||||
/*public*/ float* proj; // = /*new*/ float[16];
|
||||
/*public*/ float* modl; // = /*new*/ float[16];
|
||||
/*public*/ float* clip; // = /*new*/ float[16];
|
||||
/*public*/ float[][] m_Frustum = /*new*/ float[16][16];
|
||||
/*public*/ float[] proj = /*new*/ float[16];
|
||||
/*public*/ float[] modl = /*new*/ float[16];
|
||||
/*public*/ float[] clip = /*new*/ float[16];
|
||||
/*
|
||||
/*public*/ FrustumData(float** mFrustum, float* proj, float* modl, float* clip)
|
||||
/*public*/ FrustumData(float[][] mFrustum, float[] proj, float[] modl, float[] clip)
|
||||
{
|
||||
m_Frustum = mFrustum;
|
||||
this->proj = proj;
|
||||
this->modl = modl;
|
||||
this->clip = clip;
|
||||
}
|
||||
}*/
|
||||
/*public*/ bool pointInFrustum(float x, float y, float z)
|
||||
{
|
||||
for (int i = 0; i < 6; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue