initial revision

git-svn-id: svn://anubis/misc/OdeWorld@141 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh committed 2009-09-26 16:53:08 +00:00
1 parent f55527d25c
commit 754f83e639
3 files changed
+41

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
TARGET := OdeWorld.o
SOURCES := $(wildcard *.cc)
HEADERS := $(wildcard *.h)
all: $(TARGET)
$(TARGET): $(SOURCES) $(HEADERS)
$(CXX) -c -o $@ $(CXXFLAGS) $(SOURCES)
clean:
-rm -f *~ *.o
+12
View File
@@ -0,0 +1,12 @@
#include "OdeWorld.h"
OdeWorld::OdeWorld()
{
m_world = dWorldCreate();
}
OdeWorld::~OdeWorld()
{
dWorldDestroy(m_world);
}
+17
View File
@@ -0,0 +1,17 @@
#ifndef ODEWORLD_H
#define ODEWORLD_H
#include <ode/ode.h>
class OdeWorld
{
public:
OdeWorld();
~OdeWorld();
protected:
dWorldID m_world;
};
#endif