forked from Kolyah35/minecraft-pe-0.6.1
the whole game
This commit is contained in:
22
src/client/renderer/culling/Culler.h
Executable file
22
src/client/renderer/culling/Culler.h
Executable file
@@ -0,0 +1,22 @@
|
||||
#ifndef NET_MINECRAFT_CLIENT_RENDERER_CULLING__Culler_H__
|
||||
#define NET_MINECRAFT_CLIENT_RENDERER_CULLING__Culler_H__
|
||||
|
||||
//package net.minecraft.client.renderer.culling;
|
||||
|
||||
class AABB;
|
||||
|
||||
class Culler
|
||||
{
|
||||
public:
|
||||
virtual ~Culler() {}
|
||||
|
||||
virtual bool isVisible(const AABB& bb) = 0;
|
||||
|
||||
virtual bool cubeInFrustum(float x0, float y0, float z0, float x1, float y1, float z1) = 0;
|
||||
|
||||
virtual bool cubeFullyInFrustum(float x0, float y0, float z0, float x1, float y1, float z1) = 0;
|
||||
|
||||
virtual void prepare(float xOff, float yOff, float zOff) {}
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_CLIENT_RENDERER_CULLING__Culler_H__*/
|
||||
Reference in New Issue
Block a user