Added option to use new subsurf module added by Daniel Dunbar. Simply add:
authorChris Burt <desoto@exenex.com>
Mon, 21 Mar 2005 22:32:02 +0000 (22:32 +0000)
committerChris Burt <desoto@exenex.com>
Mon, 21 Mar 2005 22:32:02 +0000 (22:32 +0000)
export NAN_NEW_SUBSURF=true

to your user-def.mk file.

source/nan_compile.mk

index 2e3d9ae245cc9886c26de633b2104eaf1c5fc50e..1b2d41d3d24d0deed6a4e14213f58df95004c015 100644 (file)
@@ -58,7 +58,12 @@ DBG_CCFLAGS  += -g
 
 # Support for new transform code ---------------------------------------
 ifeq ($(NAN_NEW_TRANSFORM), true)
-   CPPFLAGS += -DNEWTRANSFORM
+       CPPFLAGS += -DNEWTRANSFORM
+endif
+
+# Support for new subsurf code -----------------------------------------
+ifeq ($(NAN_NEW_SUBSURF), true)
+       CPPFLAGS += -DUSE_CCGSUBSURFLIB
 endif
 
 # OS dependent parts ---------------------------------------------------