diff --git a/include/TextureUnmanaged.hpp b/include/TextureUnmanaged.hpp index d84049b2..c85c8598 100644 --- a/include/TextureUnmanaged.hpp +++ b/include/TextureUnmanaged.hpp @@ -231,16 +231,6 @@ class TextureUnmanaged : public ::Texture { ::DrawTextureRec(*this, sourceRec, position, tint); } - /** - * Draw texture quad with tiling and offset parameters - * - * @see ::DrawTextureQuad() - */ - inline void Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, - ::Color tint = {255, 255, 255, 255}) const { - ::DrawTextureQuad(*this, tiling, offset, quad, tint); - } - /** * Draw a part of a texture defined by a rectangle with 'pro' parameters * @@ -261,27 +251,6 @@ class TextureUnmanaged : public ::Texture { ::DrawTextureNPatch(*this, nPatchInfo, destRec, origin, rotation, tint); } - /** - * Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest. - * - * @see ::DrawTextureTiled() - */ - inline void DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0}, - float rotation = 0, float scale = 1, Color tint = {255, 255, 255, 255}) const { - ::DrawTextureTiled(*this, sourceRec, destRec, origin, rotation, scale, tint); - } - - /** - * Draw a textured polygon - * - * @see ::DrawTexturePoly() - */ - inline void DrawPoly(::Vector2 center, ::Vector2 *points, - ::Vector2 *texcoords, int pointsCount, - ::Color tint = {255, 255, 255, 255}) const { - ::DrawTexturePoly(*this, center, points, texcoords, pointsCount, tint); - } - /** * Draw a billboard texture * @@ -316,46 +285,6 @@ class TextureUnmanaged : public ::Texture { DrawBillboardPro(camera, *this, source, position, up, size, origin, rotation, tint); } - /** - * Draw cube textured - * - * @see ::DrawCubeTexture() - */ - inline void DrawCube(::Vector3 position, float width, float height, float length, - ::Color color = {255, 255, 255, 255}) const { - ::DrawCubeTexture(*this, position, width, height, length, color); - } - - /** - * Draw cube textured, with dimensions - * - * @see ::DrawCubeTexture() - */ - inline void DrawCube(::Vector3 position, ::Vector3 dimensions, - ::Color color = {255, 255, 255, 255}) const { - ::DrawCubeTexture(*this, position, dimensions.x, dimensions.y, dimensions.z, color); - } - - /** - * Draw cube with a region of a texture - * - * @see ::DrawCubeTextureRec() - */ - inline void DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, - ::Color color = {255, 255, 255, 255}) const { - ::DrawCubeTextureRec(*this, source, position, width, height, length, color); - } - - /** - * Draw cube with a region of a texture, with dimensions - * - * @see ::DrawCubeTextureRec() - */ - inline void DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, - ::Color color = {255, 255, 255, 255}) const { - ::DrawCubeTextureRec(*this, source, position, dimensions.x, dimensions.y, dimensions.z, color); - } - /** * Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) */ diff --git a/include/Vector3.hpp b/include/Vector3.hpp index 902e3ec8..04e9fdb0 100644 --- a/include/Vector3.hpp +++ b/include/Vector3.hpp @@ -296,15 +296,6 @@ class Vector3 : public ::Vector3 { ::DrawCubeWiresV(*this, size, color); } - inline void DrawCubeTexture( - const ::Texture2D& texture, - float width, - float height, - float length, - ::Color color) const { - ::DrawCubeTexture(texture, *this, width, height, length, color); - } - inline void DrawSphere(float radius, ::Color color) const { ::DrawSphere(*this, radius, color); }