[Opal-commits] opal SConstruct,1.9,1.10 changelog.txt,1.26,1.27 todo.txt,1.79,1.80
Status: Inactive
Brought to you by:
tylerstreeter
|
From: tylerstreeter <tyl...@us...> - 2005-06-24 16:40:57
|
Update of /cvsroot/opal/opal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27140 Modified Files: SConstruct changelog.txt todo.txt Log Message: Added a compile-time flag OPAL_USE_DOUBLE which determines whether OPAL's reals are floats or doubles. Also added a run-time check when a physics engine-specific Simulator (e.g. ODESimulator) is created to make sure OPAL's reals are the same size as the physics engine's reals. Index: SConstruct =================================================================== RCS file: /cvsroot/opal/opal/SConstruct,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** SConstruct 14 Apr 2005 09:15:06 -0000 1.9 --- SConstruct 24 Jun 2005 16:40:47 -0000 1.10 *************** *** 74,77 **** --- 74,78 ---- BoolOption('XML', 'Build with XML saving/loading functions (TinyXML headers required)', True), BoolOption('mesh', 'Build with Mesh Shape functionality', True), + BoolOption('double', 'Build with OPAL's reals set to double instead of float', False), PathOption('extra_include_path', 'Additional include directory', '.'), PathOption('extra_lib_path', 'Additional lib directory', '.')) *************** *** 104,115 **** buildDir = 'build/' + env['PLATFORM'] + '/release' ! # Add XML support if desired if env['XML'] == True: env.Append(CPPDEFINES = ['OPAL_USE_XML']) ! # Add mesh support if desired if env['mesh'] == True: env.Append(CPPDEFINES = ['OPAL_USE_MESH']) if len(COMMAND_LINE_TARGETS) != 0: printOptions(env['debug'], physicsEngine, env['XML']) --- 105,120 ---- buildDir = 'build/' + env['PLATFORM'] + '/release' ! # Add XML support if desired. if env['XML'] == True: env.Append(CPPDEFINES = ['OPAL_USE_XML']) ! # Add mesh support if desired. if env['mesh'] == True: env.Append(CPPDEFINES = ['OPAL_USE_MESH']) + # Add double floating point precision support if desired. + if env['double'] == True: + env.Append(CPPDEFINES = ['OPAL_USE_DOUBLE']) + if len(COMMAND_LINE_TARGETS) != 0: printOptions(env['debug'], physicsEngine, env['XML']) Index: changelog.txt =================================================================== RCS file: /cvsroot/opal/opal/changelog.txt,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** changelog.txt 19 Jun 2005 17:09:13 -0000 1.26 --- changelog.txt 24 Jun 2005 16:40:48 -0000 1.27 *************** *** 15,18 **** --- 15,22 ---- ------------------------------------------ + * 6-24-05: Added a compile-time flag OPAL_USE_DOUBLE which determines whether OPAL's reals are floats or doubles. Also added a run-time check when a physics engine-specific Simulator (e.g. ODESimulator) is created to make sure OPAL's reals are the same size as the physics engine's reals. + + * 6-19-05: Added Spaces tutorial to website. (Tyler Streeter) + * 6-19-05: New Spaces are now automatically children of the Simulator root Space. Previously, there was no way for new Spaces to be children of the Simulator root Space. (Tyler Streeter) Index: todo.txt =================================================================== RCS file: /cvsroot/opal/opal/todo.txt,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** todo.txt 18 Jun 2005 17:45:52 -0000 1.79 --- todo.txt 24 Jun 2005 16:40:48 -0000 1.80 *************** *** 4,13 **** * put TinyXML in with the OPAL source to make it easier to build; remove conditional compilation options from sconstruct and win32 source - * #ifdef OPAL_USE_DOUBLE - typedef double real; - #else - typedef float real; - #endif - * from EarthquakeProof in the forum: "I've noticed another thing too, when two Solids which are static collide, there is an error. So I've modified a little ODESimulator.cpp to solve that (the problem is a call to dGeomIsBodyEnabled when the body is 0 which is the case with static Solids. " --- 4,7 ---- *************** *** 15,18 **** --- 9,22 ---- * add simple sample app + * keep track of solids that have moved; allows users to only update visuals when necessary + - store a 'isMoving' variable + - set 'isMoving' to false each time step? + - certain events set 'isMoving' to true + - setPosition + - solid is awake and dynamic + - basically, the only only thing that has 'isMoving' false is a solid that is sleeping or static that hasn't been moved manually via setPosition + + * add option for SpringMotor to depend on mass/inertia or not + For Version 0.4.0 ================= |