]> git.lizzy.rs Git - minetest.git/blobdiff - src/mesh.h
Add capability to read table flag fields from Lua API
[minetest.git] / src / mesh.h
index cf46e7f8fb69e1d60759c6925b7073ad55d0090f..a89bea3856a8761ac4b2ad47522b749c8b70160a 100644 (file)
@@ -69,20 +69,4 @@ void setMeshColorByNormalXYZ(scene::IMesh *mesh,
                const video::SColor &colorY,
                const video::SColor &colorZ);
 
-/*
-       Render a mesh to a texture.
-       Returns NULL if render-to-texture failed.
-*/
-video::ITexture *generateTextureFromMesh(scene::IMesh *mesh,
-               IrrlichtDevice *device,
-               core::dimension2d<u32> dim,
-               std::string texture_name,
-               v3f camera_position,
-               v3f camera_lookat,
-               core::CMatrix4<f32> camera_projection_matrix,
-               video::SColorf ambient_light,
-               v3f light_position,
-               video::SColorf light_color,
-               f32 light_radius);
-
 #endif