Commit Graph

29 Commits

Author SHA1 Message Date
erwin.coumans
6536d8cc31 Added option to install 'Extra' libs, turned off by default (BulletMultiThreaded, OpenGL, COLLADA_DOM, libxml,BulletColladaConverter)
Thanks xenonofarcticus, for the patch: http://code.google.com/p/bullet/issues/detail?id=294
2009-12-13 20:30:29 +00:00
erwin.coumans
eea73bc76a more fixes to get cmake 2.8 to create Xcode projects 2009-11-17 03:09:14 +00:00
erwin.coumans
210fe36106 Add backface culling and option to keep unflipped hit normal in case a ray hits a back-facing triangle.
Usage: set RayResultCallback.m_flags to kF_FilterBackfaces, optionally combined with kF_KeepUnflippedNormal.
Thanks Andy O'Neil for the patch!

Remove the force_inline for some internal constraint solver methods, it makes re-use easier.
Workaround/avoid MSVC 2005 compiler error in LibXML/trionan.c
2009-02-28 01:25:23 +00:00
erwin.coumans
3c0ca0d931 Fix btSoftBody issue, so it can interact with btCollisionObject and btGhostObject (and not just btRigidBody and btSoftBody)
Thank for the report mi076 http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2823

remove legacy.c from libxml
removed #include <math.h> from btQuadWord.h , it should be centralized in btScalar.h (to allow easier replacement with fastmath.h etc)
2008-11-10 20:33:14 +00:00
erwin.coumans
2daf428386 updated CMake support: remove Lib prefix, to facilitate Apple Framework support, add App prefix for demos
See discussion here: http://code.google.com/p/bullet/issues/detail?id=129
2008-11-06 06:54:35 +00:00
erwin.coumans
108c88af41 Applied Cmakelist patch, adding Apple Framework support
Disable libxml LIBXML_MODULE_EXTENSION
Fixed include path in btConeTwistConstraint (it should be relative to src folder, not using ../../ )
Thanks to ejtttje, http://code.google.com/p/bullet/issues/detail?id=129
2008-11-06 06:02:38 +00:00
erwin.coumans
28e580c203 removed STL usage of Extras/ConvexBuilder and replaced by btAlignedObjectArray
fixed several warnings, thanks to sparkprime
added comments patch for linear math, thanks to Tully Foote
2008-10-28 18:52:46 +00:00
erwin.coumans
9cd83c004b + add dummy getcwd/getenv for PS3 compatibility
+ disable HAVE_SIGNAL_H 0 for LibXML
+ removed unused variable in btCollisionWorld
+ removed unused variable in btSequentialImpulseConstraintSolver
2008-07-28 23:15:43 +00:00
erwin.coumans
bd97c5e569 Fixed warnings in Bullet/src core library
Thanks Martijn Reuvers from Two Tribes B.V. (www.twotribes.com) for the patch

To make this work more visible, suppress warnings in external libraries in Extras (COLLADA_DOM, libxml and glui contain many warnings)
Added PreprocessorDefinitions: _CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE to vcproj files
2008-05-10 18:00:21 +00:00
john.mccutchan
ba27e0522b Add posix thread backend to BulletMultiThreaded. Contributed by Enrico. 2008-04-01 18:32:41 +00:00
ejcoumans
37837f204a missing return in main.cpp
remove unwanted libxml files (testfiles containing 'main')
2008-02-05 06:14:51 +00:00
ejcoumans
5c40e615bd make source compile under MinGW32
todo: link against OpenGL GLU/GLUT.
2008-01-30 01:09:01 +00:00
ejcoumans
d051e2eacb First commit of 2008, Happy New Year!
Add option to compile without btClock and without profiling: comment out USE_BT_CLOCK, and #define BT_NO_PROFILE
Fixed typo/case in #include "LinearMath/btQuickProf.h", in SpuParallelSolver.cpp
Removed unnecessary files from libxml CMakeLists.txt
2008-01-03 04:42:00 +00:00
ejcoumans
b8c2cb6f53 Stop MSVC 8/9 from moaning
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS)
2007-12-15 03:41:07 +00:00
ejcoumans
bf5a4a7d39 added workaround to compile libxml under Visual Studio 2008 Beta 2 2007-12-10 00:44:18 +00:00
ejcoumans
af5cfb838a updated Jamfiles so only the appropriate Bullet libraries gets installed, not the helper/internal ones. 2006-12-27 01:34:54 +00:00
ejcoumans
5929b2b79d fixed jam 'install' to properly copy right headerfiles in the destination directory 2006-12-26 17:16:40 +00:00
ejcoumans
ae208d78e1 more build system stuff 2006-12-09 01:46:28 +00:00
ejcoumans
08f86712b7 update buildsystem files 2006-12-09 01:33:49 +00:00
ejcoumans
0e04cfc806 First stage in refactoring Bullet: moved Bullet Collision and Dynamics and LinearMath into src folder, and all files in Collision Detection and Dynamics have bt prefix.
Made all buildsystems to work again (jam, msvc, cmake)
2006-09-25 08:58:57 +00:00
sjbaker
f1627677df Fixed over 500 compile warnings. Mostly:
* Unused variables.
* Missing newlines at ends of #included files.
* signed int loop variables where the termination condition is an unsigned 'get number of' function.
* 'NULL' used inappropriately for an integer or character constant (NULL is a pointer)
* abstract base classes with no virtual destructor.
* Floating point constants used to initialise integer variables.
2006-09-23 14:51:54 +00:00
ejcoumans
4cdcee8871 updated CMakeLists.txt to include LibXML and LibColladaDom, and use better naming for libs. This should allow autogeneration of visual studio projectfiles, and Apple XCode projectfiles for COLLADA_DOM demo. 2006-08-28 01:26:31 +00:00
ejcoumans
3f1319586c fixed libxml for MacOS X 2006-07-10 07:15:40 +00:00
ejcoumans
473e290540 use config-win32 for visual studio builds
disabled 2 libxml settings (CATALOG & ICONV), to get it to compile
2006-06-19 20:56:20 +00:00
ejcoumans
8dcbaeb2b8 more work to get libxml / libcollada-dom to build multiplatform 2006-06-19 19:33:14 +00:00
ejcoumans
0f3bda1fb0 more build stuff for libxml / COLLADA 2006-06-19 17:51:06 +00:00
ejcoumans
51fb1b25fc added missing libxml2 files, and config.h (for linux). todo: both configwin32.h for win32, and configure for non-windows 2006-06-19 02:01:26 +00:00
ejcoumans
f2636f8d4b updated to more recent libxml2 version (work in progress) 2006-06-18 23:22:39 +00:00
ejcoumans
650e0ac744 created Jamfile for COLLADA_COM & LibXML, added LibXML in it's own location under Extras
libxml doesn't compile with jam yet, C sourcecode versus C++?
2006-06-18 10:25:12 +00:00