forked from Kolyah35/minecraft-pe-0.6.1
the whole game
This commit is contained in:
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__*/
|
||||
Reference in New Issue
Block a user