Skip to content

Can't create class from raylib-cpp #198

Description

@TokyoSU

Pretty all class of raylib-cpp have no constructor allowing that:

class ObjectName
{
public:
	ObjectName();
	~ObjectName();

	void Load(const char* path);
	void Draw(raylib::Vector3 pos);

private:
	raylib::Model model;
};

So it's impossible to create class like this because a error is thrown saying Model have no default constructor !

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions