Skip to content

where is "FlagPole.obj" file? #5

@asmwarrior

Description

@asmwarrior

Hi, nice project.
I have built your project under Windows, and by using codeblocks+msys2.
See:
asmwarrior/ClothSimulator: Cloth Simulator

I see such code:

void Controller::OnMenuFileAddObject(wxFrame* frame)
{
	wxLogDebug("OnMenuFileAddObject");
	wxTextFile objfile("Objects/FlagPole.obj");
	bool success = objfile.Open();
	wxLogDebug("opened: %i", success);

	for (wxString str = objfile.GetFirstLine(); !objfile.Eof(); str = objfile.GetNextLine())
	{
		if (str.StartsWith("o ")) { // new object
			wxString name = str.SubString(2, 0);
			wxLogDebug(name);
		}
	}

	objfile.Close();
}

I see this lines in the code, but where is "FlagPole.obj" file?

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