Skip to content

Can't create class from raylib-cpp #198

@TokyoSU

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 !

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