Refactored rcBuildContext to be more customization friendly, changed name to rcContext.

This commit is contained in:
Mikko Mononen
2010-08-24 17:53:38 +00:00
parent 02b189a7cb
commit 5abddbf0cd
28 changed files with 3268 additions and 1444 deletions

View File

@@ -118,7 +118,7 @@ InputGeom::~InputGeom()
delete m_mesh;
}
bool InputGeom::loadMesh(rcBuildContext* ctx, const char* filepath)
bool InputGeom::loadMesh(rcContext* ctx, const char* filepath)
{
if (m_mesh)
{
@@ -159,7 +159,7 @@ bool InputGeom::loadMesh(rcBuildContext* ctx, const char* filepath)
return true;
}
bool InputGeom::load(rcBuildContext* ctx, const char* filePath)
bool InputGeom::load(rcContext* ctx, const char* filePath)
{
char* buf = 0;
FILE* fp = fopen(filePath, "rb");