Skip to content

Instantly share code, notes, and snippets.

@byteandahalf
Last active August 29, 2015 14:27
Show Gist options
  • Save byteandahalf/9c452908d06cd12c3ee2 to your computer and use it in GitHub Desktop.
Save byteandahalf/9c452908d06cd12c3ee2 to your computer and use it in GitHub Desktop.
Updated TileTessellator header for MCPE 0.12.1
#pragma once
#include <string>
#include <functional>
class Tessellator;
class TilePos;
class Tile;
class TileSource;
class Vec3;
#include "../texture/TextureUVCoordinateSet.h"
#include "../../../world/phys/AABB.h"
#include "../../../CommonTypes.h"
class TileTessellator {
public:
bool forceOpaque; // 0
bool mirror; // 1
TileSource* region; // 4
TextureUVCoordinateSet forcedUV; // 8
bool useForcedUV; // 40
char filler[88]; // 44
int rotBottom; // 132
int rotTop; // 136
int rotEast; // 140
int rotWest; // 144
int rotNorth; // 148
int rotSouth; // 152
char filler1[512]; // 156
Tessellator* tessellator_inst; // 668
AABB bounds; // 672
bool tessellateInWorld(Tile*, const TilePos&, unsigned char, bool);
bool tessellateBlockInWorld(Tile*, const TilePos&);
void renderFaceUp(Tile*, const Vec3&, const TextureUVCoordinateSet&);
void tessellateTorch(Tile*, float, float, float, float, float);
void tex1(unsigned int);
DataID getData(const TilePos&) const;
unsigned int getLightColor(const TilePos&);
};
@DanHerePE
Copy link

im in love with teh coco

@DanHerePE
Copy link

*Header

@byteandahalf
Copy link
Author

lol

@kennethgomad02
Copy link

I l8ve it

@kennethgomad02
Copy link

Verry much

@kennethgomad02
Copy link

Also ryan could you c8de php?, yml

Copy link

ghost commented Aug 14, 2015

WTF!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment