Skip to content

Docs outdated in Draw() of Image&Text #181

@ntut-rick

Description

@ntut-rick

As the title

/**
* @brief Draws the text with a given transform and z-index.
*
* @param transform The transform to apply to the text.
* @param zIndex The z-index at which to draw the text.
*/
void Draw(const Core::Matrices &data) override;

And I think those docs should be recorded in the interface Drawable not derived functions.

struct Matrices {
glm::mat4 m_Model;
glm::mat4 m_Projection;
};
class Drawable {
public:
virtual ~Drawable() = default;
virtual void Draw(const Core::Matrices &data) = 0;
virtual glm::vec2 GetSize() const = 0;
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    🆕 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions