Changes to fix compiles on Mac OS X

This commit is contained in:
Don BURNS
2003-04-03 08:14:49 +00:00
parent 78d95b2414
commit 03a0b4f5de
12 changed files with 41 additions and 11 deletions

View File

@@ -416,7 +416,7 @@ int main( int argc, char **argv )
}
float radius = 1.0f;
float height = 2*radius*tanf(fovy*0.5f);
float height = 2*radius*tan(fovy*0.5f);
float length = osg::PI*radius; // half a cylinder.
// creat the scene from the file list.

View File

@@ -12,7 +12,7 @@ INSTFILES = \
EXEC = osgviewer
INC += $(PRODUCER_INCLUDE_DIR)
INC += $(PRODUCER_INCLUDE_DIR)
LDFLAGS += $(PRODUCER_LIB_DIR)
include $(TOPDIR)/Make/makerules