mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-24 03:19:44 +00:00
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
29
src/client/renderer/culling/AllowAllCuller.h
Executable file
29
src/client/renderer/culling/AllowAllCuller.h
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef NET_MINECRAFT_CLIENT_RENDERER_CULLING__AllowAllCuller_H__
|
||||
#define NET_MINECRAFT_CLIENT_RENDERER_CULLING__AllowAllCuller_H__
|
||||
|
||||
//package net.minecraft.client.renderer.culling;
|
||||
|
||||
#include "Culler.h"
|
||||
|
||||
class AABB;
|
||||
|
||||
class AllowAllCuller: public Culler
|
||||
{
|
||||
public:
|
||||
bool isVisible(const AABB& bb) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool cubeFullyInFrustum(float x1, float y1, float z1, float x2, float y2, float z2) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool cubeInFrustum(float x1, float y1, float z1, float x2, float y2, float z2) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void prepare(float xOff, float yOff, float zOff) {
|
||||
}
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_CLIENT_RENDERER_CULLING__AllowAllCuller_H__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue