glumodel to its own file - working
1 parent c5c7d6e commit 9df4ba740bace173ee052e518beeaac7b9e4a9e5
@glproj03 glproj03 authored on 3 Feb 2006
Showing 2 changed files
View
2
■■■
Makefile
ifeq "$(DEBUG)" "yes"
CXXFLAGS := $(CXXFLAGS) -g -DDEBUG
endif
 
OBJECTS = main.o poly.o model.o light.o vec.o material.o color.o thing.o animation.o
OBJECTS = main.o poly.o model.o glumodel.o light.o vec.o material.o color.o thing.o animation.o
 
all: $(OBJECTS)
@if [ ! -d $(BINDIR) ]; then \
$(call run,$(MKDIR) $(BINDIR)); \
View
2
■■■
include/glumodel.h
#ifndef _GLUMODEL_H
#define _GLUMODEL_H
 
#include "vec.h"
#include "thing.h"
#include "poly.h"
#include <string>
 
class GluModel : public Thing {
public: