aole/ClothSimulator

where is "FlagPole.obj" file?

asmwarrior opened this issue · 1 comments

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?

aole commented

Hi,

thanks!

It's been a while since I worked on this. I may have used the flagpole.obj (some simple object made in blender) as a test.
This part of the code doesn't look complete as well. You might as well do your thing.