mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-23 10:59:45 +00:00
29 lines
722 B
C++
Executable file
29 lines
722 B
C++
Executable file
#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__*/
|