← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 1909: - Increase DISTANCE_MAX

 

------------------------------------------------------------
revno: 1909
committer: Vincent Richefeu <richefeu@macbook-pro-de-vincent-richefeu.local>
branch nick: trunk
timestamp: Fri 2009-12-18 17:38:08 +0100
message:
  - Increase DISTANCE_MAX
  - use gcc-4.0 (4.3 doesn't work correctly on mac snow leopard)
modified:
  extra/mgpost/src/Makefile.macosx
  extra/mgpost/src/mgpost.h


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'extra/mgpost/src/Makefile.macosx'
--- extra/mgpost/src/Makefile.macosx	2009-08-28 14:51:34 +0000
+++ extra/mgpost/src/Makefile.macosx	2009-12-18 16:38:08 +0000
@@ -13,7 +13,7 @@
 #  _LINUX     : compil on linux OS
 #  _WITH_TIFF : linked with libtiff
 
-CC      =gcc
+CC      =gcc-4.0
 CFLAGS  =-Wall -O3 -D_FR -D_GNU_SOURCE -D_LIBXML2 -D_MACOSX -fno-common
 LIBS    = -lxml2 
 LIBSDIR =-L/usr/lib -L/sw/lib

=== modified file 'extra/mgpost/src/mgpost.h'
--- extra/mgpost/src/mgpost.h	2009-04-06 14:45:13 +0000
+++ extra/mgpost/src/mgpost.h	2009-12-18 16:38:08 +0000
@@ -46,7 +46,7 @@
 #define MGP_VERSION     "0.5.4" 
 
 #define DISTANCE_INIT   15.0f
-#define DISTANCE_MAX    300.0f
+#define DISTANCE_MAX    3000.0f
 #define THETA_INIT      -30
 #define PHI_INIT        300