diff options
Diffstat (limited to 'src/mapblock.h')
-rw-r--r-- | src/mapblock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapblock.h b/src/mapblock.h index 76465903b..f725aa1f5 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -46,7 +46,7 @@ enum{ struct FastFace { - u8 material; + u16 tile; video::S3DVertex vertices[4]; // Precalculated vertices }; @@ -283,7 +283,7 @@ public: setNode(x0+x, y0+y, z0+z, node); } - static FastFace * makeFastFace(u8 material, u8 light, v3f p, + static FastFace * makeFastFace(u16 tile, u8 light, v3f p, v3f dir, v3f scale, v3f posRelative_f); u8 getFaceLight(v3s16 p, v3s16 face_dir); |