Clean up about a bazillion compilation warnings.
This commit is contained in:
@@ -134,7 +134,7 @@ void BspDemo::initPhysics(char* bspfilename)
|
|||||||
|
|
||||||
///Setup a Physics Simulation Environment
|
///Setup a Physics Simulation Environment
|
||||||
|
|
||||||
btCollisionShape* groundShape = new btBoxShape(btVector3(50,3,50));
|
// btCollisionShape* groundShape = new btBoxShape(btVector3(50,3,50));
|
||||||
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
|
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
|
||||||
btVector3 worldMin(-1000,-1000,-1000);
|
btVector3 worldMin(-1000,-1000,-1000);
|
||||||
btVector3 worldMax(1000,1000,1000);
|
btVector3 worldMax(1000,1000,1000);
|
||||||
|
|||||||
@@ -160,7 +160,6 @@ void ColladaDemo::initPhysics(const char* filename)
|
|||||||
m_cameraUp = btVector3(0,0,1);
|
m_cameraUp = btVector3(0,0,1);
|
||||||
m_forwardAxis = 1;
|
m_forwardAxis = 1;
|
||||||
|
|
||||||
btCollisionShape* groundShape = new btBoxShape(btVector3(50,3,50));
|
|
||||||
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
|
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
|
||||||
btVector3 worldMin(-1000,-1000,-1000);
|
btVector3 worldMin(-1000,-1000,-1000);
|
||||||
btVector3 worldMax(1000,1000,1000);
|
btVector3 worldMax(1000,1000,1000);
|
||||||
|
|||||||
@@ -113,8 +113,10 @@ void CollisionDemo::initPhysics()
|
|||||||
btVector3 boxHalfExtentsA(1.0000004768371582f,1.0000004768371582f,1.0000001192092896f);
|
btVector3 boxHalfExtentsA(1.0000004768371582f,1.0000004768371582f,1.0000001192092896f);
|
||||||
btVector3 boxHalfExtentsB(3.2836332321166992f,3.2836332321166992f,3.2836320400238037f);
|
btVector3 boxHalfExtentsB(3.2836332321166992f,3.2836332321166992f,3.2836320400238037f);
|
||||||
|
|
||||||
|
#ifndef CHECK_GENSHER_TRIANGLE_CASE
|
||||||
btBoxShape* boxA = new btBoxShape(boxHalfExtentsA);
|
btBoxShape* boxA = new btBoxShape(boxHalfExtentsA);
|
||||||
btBoxShape* boxB = new btBoxShape(boxHalfExtentsB);
|
btBoxShape* boxB = new btBoxShape(boxHalfExtentsB);
|
||||||
|
#endif
|
||||||
|
|
||||||
float p1[3], p2[3], p3[3], q1[3],q2[3], q3[3];
|
float p1[3], p2[3], p3[3], q1[3],q2[3], q3[3];
|
||||||
|
|
||||||
@@ -155,8 +157,8 @@ void CollisionDemo::initPhysics()
|
|||||||
|
|
||||||
|
|
||||||
#ifdef CHECK_GENSHER_TRIANGLE_CASE
|
#ifdef CHECK_GENSHER_TRIANGLE_CASE
|
||||||
shapePtr[0] = trishapeA;//boxA;
|
shapePtr[0] = trishapeA;
|
||||||
shapePtr[1] = trishapeB;//boxB;
|
shapePtr[1] = trishapeB;
|
||||||
#else
|
#else
|
||||||
shapePtr[0] = boxA;
|
shapePtr[0] = boxA;
|
||||||
shapePtr[1] = boxB;
|
shapePtr[1] = boxB;
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ void ConcaveDemo::initPhysics()
|
|||||||
btCollisionShape* trimeshShape = new btBvhTriangleMeshShape(indexVertexArrays);
|
btCollisionShape* trimeshShape = new btBvhTriangleMeshShape(indexVertexArrays);
|
||||||
|
|
||||||
|
|
||||||
btCollisionShape* groundShape = new btBoxShape(btVector3(50,3,50));
|
// btCollisionShape* groundShape = new btBoxShape(btVector3(50,3,50));
|
||||||
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
|
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
|
||||||
btVector3 worldMin(-1000,-1000,-1000);
|
btVector3 worldMin(-1000,-1000,-1000);
|
||||||
btVector3 worldMax(1000,1000,1000);
|
btVector3 worldMax(1000,1000,1000);
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ void drawLimit()
|
|||||||
|
|
||||||
void ConstraintDemo::initPhysics()
|
void ConstraintDemo::initPhysics()
|
||||||
{
|
{
|
||||||
btCollisionShape* groundShape = new btBoxShape(btVector3(50,3,50));
|
// btCollisionShape* groundShape = new btBoxShape(btVector3(50,3,50));
|
||||||
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
|
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
|
||||||
btVector3 worldMin(-1000,-1000,-1000);
|
btVector3 worldMin(-1000,-1000,-1000);
|
||||||
btVector3 worldMax(1000,1000,1000);
|
btVector3 worldMax(1000,1000,1000);
|
||||||
|
|||||||
@@ -16,11 +16,6 @@ if $(GLUT.AVAILABLE) = "yes"
|
|||||||
"../../Demos/OpenGL"
|
"../../Demos/OpenGL"
|
||||||
"../../src" ;
|
"../../src" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rule BulletBasicDemo
|
rule BulletBasicDemo
|
||||||
@@ -55,3 +50,4 @@ SubInclude TOP Demos ContinuousConvexCollision ;
|
|||||||
SubInclude TOP Demos GjkConvexCastDemo ;
|
SubInclude TOP Demos GjkConvexCastDemo ;
|
||||||
SubInclude TOP Demos Raytracer ;
|
SubInclude TOP Demos Raytracer ;
|
||||||
SubInclude TOP Demos SimplexDemo ;
|
SubInclude TOP Demos SimplexDemo ;
|
||||||
|
|
||||||
|
|||||||
@@ -50,3 +50,4 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
#endif //BOX_BOX__COLLISION_ALGORITHM_H
|
#endif //BOX_BOX__COLLISION_ALGORITHM_H
|
||||||
|
|
||||||
|
|||||||
@@ -406,11 +406,11 @@ daeBool
|
|||||||
{
|
{
|
||||||
strcpy( dst, "NaN" );
|
strcpy( dst, "NaN" );
|
||||||
}
|
}
|
||||||
else if ( *(daeInt*)src == 0x7f800000 ) //+INF
|
else if ( *(daeUInt*)src == 0x7f800000 ) //+INF
|
||||||
{
|
{
|
||||||
strcpy( dst, "INF" );
|
strcpy( dst, "INF" );
|
||||||
}
|
}
|
||||||
else if ( *(daeInt*)src == 0xff800000 ) //-INF
|
else if ( *(daeUInt*)src == 0xff800000 ) //-INF
|
||||||
{
|
{
|
||||||
strcpy( dst, "-INF" );
|
strcpy( dst, "-INF" );
|
||||||
}
|
}
|
||||||
@@ -451,11 +451,11 @@ daeBool
|
|||||||
{
|
{
|
||||||
strcpy( dst, "NaN" );
|
strcpy( dst, "NaN" );
|
||||||
}
|
}
|
||||||
else if ( *(daeLong*)src == 0x7ff0000000000000LL ) //+INF
|
else if ( *(daeULong*)src == 0x7ff0000000000000LL ) //+INF
|
||||||
{
|
{
|
||||||
strcpy( dst, "INF" );
|
strcpy( dst, "INF" );
|
||||||
}
|
}
|
||||||
else if ( *(daeLong*)src == 0xfff0000000000000LL ) //-INF
|
else if ( *(daeULong*)src == 0xfff0000000000000LL ) //-INF
|
||||||
{
|
{
|
||||||
strcpy( dst, "-INF" );
|
strcpy( dst, "-INF" );
|
||||||
}
|
}
|
||||||
@@ -666,7 +666,7 @@ daeResolverType::stringToMemory(daeChar* src, daeChar* dstMemory)
|
|||||||
} else if (*s == ' ') {
|
} else if (*s == ' ') {
|
||||||
char err[512];
|
char err[512];
|
||||||
memset( err, 0, 512 );
|
memset( err, 0, 512 );
|
||||||
sprintf(err,"uri contains white space, dom will convert them to %20 in output files!\n uri=%s", src);
|
sprintf(err,"uri contains white space, dom will convert them to %%20 in output files!\n uri=%s", src);
|
||||||
daeErrorHandler::get()->handleWarning( err );
|
daeErrorHandler::get()->handleWarning( err );
|
||||||
}
|
}
|
||||||
*t=*s;
|
*t=*s;
|
||||||
|
|||||||
@@ -250,7 +250,7 @@ daeDefaultIDRefResolver::resolveElement(daeIDRef& idref, daeString typeNameHint)
|
|||||||
if ( idref.getContainer() == NULL )
|
if ( idref.getContainer() == NULL )
|
||||||
{
|
{
|
||||||
char msg[128];
|
char msg[128];
|
||||||
sprintf(msg,"daeDefaultIDRefResolver::resolveElement() - failed to resolve %s\n",idref.getID(), ". IDRef needs a container element!" );
|
sprintf(msg,"daeDefaultIDRefResolver::resolveElement() - failed to resolve %s%s\n",idref.getID(), ". IDRef needs a container element!" );
|
||||||
daeErrorHandler::get()->handleWarning( msg );
|
daeErrorHandler::get()->handleWarning( msg );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,3 +20,4 @@ if $(GLUT.AVAILABLE) = "yes"
|
|||||||
|
|
||||||
|
|
||||||
GPUDemo GPUphysics : [ Wildcard *.h *.cpp ] ;
|
GPUDemo GPUphysics : [ Wildcard *.h *.cpp ] ;
|
||||||
|
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ SubInclude TOP Extras GIMPACT ;
|
|||||||
SubInclude TOP Extras GIMPACTBullet ;
|
SubInclude TOP Extras GIMPACTBullet ;
|
||||||
|
|
||||||
#GPUphysics needs 'make', not jam compatible build yet:
|
#GPUphysics needs 'make', not jam compatible build yet:
|
||||||
SubInclude TOP Extras GPUphysics ;
|
#SubInclude TOP Extras GPUphysics ;
|
||||||
|
|||||||
@@ -45,3 +45,4 @@ struct OdeSolverBody
|
|||||||
|
|
||||||
|
|
||||||
#endif //#ifndef ODE_SOLVER_BODY_H
|
#endif //#ifndef ODE_SOLVER_BODY_H
|
||||||
|
|
||||||
|
|||||||
510
Makefile.in
510
Makefile.in
@@ -1,8 +1,8 @@
|
|||||||
# Makefile.in generated by automake 1.6.3 from Makefile.am.
|
# Makefile.in generated by automake 1.9.5 from Makefile.am.
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||||
# Free Software Foundation, Inc.
|
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
@@ -13,117 +13,214 @@
|
|||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
SHELL = @SHELL@
|
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
prefix = @prefix@
|
|
||||||
exec_prefix = @exec_prefix@
|
|
||||||
|
|
||||||
bindir = @bindir@
|
|
||||||
sbindir = @sbindir@
|
|
||||||
libexecdir = @libexecdir@
|
|
||||||
datadir = @datadir@
|
|
||||||
sysconfdir = @sysconfdir@
|
|
||||||
sharedstatedir = @sharedstatedir@
|
|
||||||
localstatedir = @localstatedir@
|
|
||||||
libdir = @libdir@
|
|
||||||
infodir = @infodir@
|
|
||||||
mandir = @mandir@
|
|
||||||
includedir = @includedir@
|
|
||||||
oldincludedir = /usr/include
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
top_builddir = .
|
top_builddir = .
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
|
||||||
AUTOCONF = @AUTOCONF@
|
|
||||||
AUTOMAKE = @AUTOMAKE@
|
|
||||||
AUTOHEADER = @AUTOHEADER@
|
|
||||||
|
|
||||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
|
||||||
install_sh_DATA = $(install_sh) -c -m 644
|
install_sh_DATA = $(install_sh) -c -m 644
|
||||||
install_sh_PROGRAM = $(install_sh) -c
|
install_sh_PROGRAM = $(install_sh) -c
|
||||||
install_sh_SCRIPT = $(install_sh) -c
|
install_sh_SCRIPT = $(install_sh) -c
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
||||||
INSTALL_HEADER = $(INSTALL_DATA)
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = $(program_transform_name)
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
build_triplet = @build@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Jamfile.in \
|
||||||
EXEEXT = @EXEEXT@
|
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||||
OBJEXT = @OBJEXT@
|
$(srcdir)/bullet.pc.in $(srcdir)/config.h.in \
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
|
||||||
AMTAR = @AMTAR@
|
mk/autoconf/config.guess mk/autoconf/config.sub \
|
||||||
APPLE_LIBTOOL = @APPLE_LIBTOOL@
|
mk/autoconf/depcomp mk/autoconf/install-sh \
|
||||||
AWK = @AWK@
|
mk/autoconf/ltmain.sh mk/autoconf/missing
|
||||||
CC = @CC@
|
|
||||||
CXX = @CXX@
|
|
||||||
DEPDIR = @DEPDIR@
|
|
||||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
||||||
LIBTOOL = @LIBTOOL@
|
|
||||||
MKDIR = @MKDIR@
|
|
||||||
MKDIRS = @MKDIRS@
|
|
||||||
PACKAGE = @PACKAGE@
|
|
||||||
RANLIB = @RANLIB@
|
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
|
||||||
X_CFLAGS = @X_CFLAGS@
|
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
|
||||||
X_LIBS = @X_LIBS@
|
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
|
||||||
am__include = @am__include@
|
|
||||||
am__quote = @am__quote@
|
|
||||||
install_sh = @install_sh@
|
|
||||||
SUBDIRS = src Demos/OpenGL
|
|
||||||
subdir = .
|
subdir = .
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mk/autoconf/mkinstalldirs
|
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
||||||
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||||
|
$(ACLOCAL_M4)
|
||||||
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||||
|
configure.lineno configure.status.lineno
|
||||||
|
mkinstalldirs = $(install_sh) -d
|
||||||
CONFIG_HEADER = config.h
|
CONFIG_HEADER = config.h
|
||||||
CONFIG_CLEAN_FILES = Jamfile bullet.pc
|
CONFIG_CLEAN_FILES = Jamfile bullet.pc
|
||||||
|
SOURCES =
|
||||||
DIST_SOURCES =
|
DIST_SOURCES =
|
||||||
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||||
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
html-recursive info-recursive install-data-recursive \
|
||||||
uninstall-info-recursive all-recursive install-data-recursive \
|
install-exec-recursive install-info-recursive \
|
||||||
install-exec-recursive installdirs-recursive install-recursive \
|
install-recursive installcheck-recursive installdirs-recursive \
|
||||||
uninstall-recursive check-recursive installcheck-recursive
|
pdf-recursive ps-recursive uninstall-info-recursive \
|
||||||
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Jamfile.in \
|
uninstall-recursive
|
||||||
Makefile.am Makefile.in NEWS aclocal.m4 bullet.pc.in \
|
ETAGS = etags
|
||||||
config.h.in configure configure.ac mk/autoconf/config.guess \
|
CTAGS = ctags
|
||||||
mk/autoconf/config.sub mk/autoconf/depcomp \
|
|
||||||
mk/autoconf/install-sh mk/autoconf/missing \
|
|
||||||
mk/autoconf/mkinstalldirs
|
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
|
top_distdir = $(distdir)
|
||||||
|
am__remove_distdir = \
|
||||||
|
{ test ! -d $(distdir) \
|
||||||
|
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||||
|
&& rm -fr $(distdir); }; }
|
||||||
|
DIST_ARCHIVES = $(distdir).tar.gz
|
||||||
|
GZIP_ENV = --best
|
||||||
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
|
distcleancheck_listfiles = find . -type f -print
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
AMDEP_FALSE = @AMDEP_FALSE@
|
||||||
|
AMDEP_TRUE = @AMDEP_TRUE@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
APPLE_LIBTOOL = @APPLE_LIBTOOL@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CS_LT_APPLE = @CS_LT_APPLE@
|
||||||
|
CXX = @CXX@
|
||||||
|
CXXDEPMODE = @CXXDEPMODE@
|
||||||
|
CXXFLAGS = @CXXFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
DLLTOOL = @DLLTOOL@
|
||||||
|
DLLWRAP = @DLLWRAP@
|
||||||
|
DOT = @DOT@
|
||||||
|
DOXYGEN = @DOXYGEN@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LIBTOOL_PATH = @LIBTOOL_PATH@
|
||||||
|
LIBTOOL_TEST = @LIBTOOL_TEST@
|
||||||
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
|
MAKEINFO = @MAKEINFO@
|
||||||
|
MKDIR = @MKDIR@
|
||||||
|
MKDIRS = @MKDIRS@
|
||||||
|
OBJCOPY = @OBJCOPY@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PACKAGE = @PACKAGE@
|
||||||
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||||
|
PACKAGE_NAME = @PACKAGE_NAME@
|
||||||
|
PACKAGE_STRING = @PACKAGE_STRING@
|
||||||
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PERL = @PERL@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRINGS = @STRINGS@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
TTREE = @TTREE@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
WINDRES = @WINDRES@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_CXX = @ac_ct_CXX@
|
||||||
|
ac_ct_DLLTOOL = @ac_ct_DLLTOOL@
|
||||||
|
ac_ct_DLLWRAP = @ac_ct_DLLWRAP@
|
||||||
|
ac_ct_DOT = @ac_ct_DOT@
|
||||||
|
ac_ct_LIBTOOL = @ac_ct_LIBTOOL@
|
||||||
|
ac_ct_LIBTOOL_TEST = @ac_ct_LIBTOOL_TEST@
|
||||||
|
ac_ct_OBJCOPY = @ac_ct_OBJCOPY@
|
||||||
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
ac_ct_STRINGS = @ac_ct_STRINGS@
|
||||||
|
ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
ac_ct_WINDRES = @ac_ct_WINDRES@
|
||||||
|
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||||
|
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||||
|
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||||
|
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__leading_dot = @am__leading_dot@
|
||||||
|
am__quote = @am__quote@
|
||||||
|
am__tar = @am__tar@
|
||||||
|
am__untar = @am__untar@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
datadir = @datadir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
mkdir_p = @mkdir_p@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
opengl_LIBS = @opengl_LIBS@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
SUBDIRS = src Demos/OpenGL Demos/BasicDemo Demos/VehicleDemo Demos/CcdPhysicsDemo
|
||||||
all: config.h
|
all: config.h
|
||||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
am--refresh:
|
||||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
@:
|
||||||
configure.lineno
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
@for dep in $?; do \
|
||||||
|
case '$(am__configure_deps)' in \
|
||||||
|
*$$dep*) \
|
||||||
|
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
|
||||||
|
cd $(srcdir) && $(AUTOMAKE) --gnu \
|
||||||
|
&& exit 0; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu Makefile
|
$(AUTOMAKE) --gnu Makefile
|
||||||
|
.PRECIOUS: Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
|
@case '$?' in \
|
||||||
|
*config.status*) \
|
||||||
|
echo ' $(SHELL) ./config.status'; \
|
||||||
|
$(SHELL) ./config.status;; \
|
||||||
|
*) \
|
||||||
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||||
|
esac;
|
||||||
|
|
||||||
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
||||||
cd $(srcdir) && $(AUTOCONF)
|
|
||||||
|
|
||||||
$(ACLOCAL_M4): configure.ac
|
$(top_srcdir)/configure: $(am__configure_deps)
|
||||||
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||||
|
|
||||||
config.h: stamp-h1
|
config.h: stamp-h1
|
||||||
@@ -135,17 +232,26 @@ config.h: stamp-h1
|
|||||||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||||
@rm -f stamp-h1
|
@rm -f stamp-h1
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||||
|
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||||
$(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
|
||||||
cd $(top_srcdir) && $(AUTOHEADER)
|
cd $(top_srcdir) && $(AUTOHEADER)
|
||||||
touch $(srcdir)/config.h.in
|
rm -f stamp-h1
|
||||||
|
touch $@
|
||||||
|
|
||||||
distclean-hdr:
|
distclean-hdr:
|
||||||
-rm -f config.h stamp-h1
|
-rm -f config.h stamp-h1
|
||||||
Jamfile: $(top_builddir)/config.status Jamfile.in
|
Jamfile: $(top_builddir)/config.status $(srcdir)/Jamfile.in
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||||
bullet.pc: $(top_builddir)/config.status bullet.pc.in
|
bullet.pc: $(top_builddir)/config.status $(srcdir)/bullet.pc.in
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
@@ -155,7 +261,13 @@ uninstall-info-am:
|
|||||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||||
# (2) otherwise, pass the desired values on the `make' command line.
|
# (2) otherwise, pass the desired values on the `make' command line.
|
||||||
$(RECURSIVE_TARGETS):
|
$(RECURSIVE_TARGETS):
|
||||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
@failcom='exit 1'; \
|
||||||
|
for f in x $$MAKEFLAGS; do \
|
||||||
|
case $$f in \
|
||||||
|
*=* | --[!k]*);; \
|
||||||
|
*k*) failcom='fail=yes';; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
dot_seen=no; \
|
dot_seen=no; \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
@@ -167,7 +279,7 @@ $(RECURSIVE_TARGETS):
|
|||||||
local_target="$$target"; \
|
local_target="$$target"; \
|
||||||
fi; \
|
fi; \
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| eval $$failcom; \
|
||||||
done; \
|
done; \
|
||||||
if test "$$dot_seen" = "no"; then \
|
if test "$$dot_seen" = "no"; then \
|
||||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||||
@@ -175,7 +287,13 @@ $(RECURSIVE_TARGETS):
|
|||||||
|
|
||||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||||
maintainer-clean-recursive:
|
maintainer-clean-recursive:
|
||||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
@failcom='exit 1'; \
|
||||||
|
for f in x $$MAKEFLAGS; do \
|
||||||
|
case $$f in \
|
||||||
|
*=* | --[!k]*);; \
|
||||||
|
*k*) failcom='fail=yes';; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
dot_seen=no; \
|
dot_seen=no; \
|
||||||
case "$@" in \
|
case "$@" in \
|
||||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||||
@@ -196,17 +314,16 @@ maintainer-clean-recursive:
|
|||||||
local_target="$$target"; \
|
local_target="$$target"; \
|
||||||
fi; \
|
fi; \
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| eval $$failcom; \
|
||||||
done && test -z "$$fail"
|
done && test -z "$$fail"
|
||||||
tags-recursive:
|
tags-recursive:
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||||
done
|
done
|
||||||
|
ctags-recursive:
|
||||||
ETAGS = etags
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
ETAGSFLAGS =
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||||
|
done
|
||||||
tags: TAGS
|
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||||
@@ -216,14 +333,23 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|||||||
$(AWK) ' { files[$$0] = 1; } \
|
$(AWK) ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
mkid -fID $$unique
|
mkid -fID $$unique
|
||||||
|
tags: TAGS
|
||||||
|
|
||||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||||
$(TAGS_FILES) $(LISP)
|
$(TAGS_FILES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||||
|
include_option=--etags-include; \
|
||||||
|
empty_fix=.; \
|
||||||
|
else \
|
||||||
|
include_option=--include; \
|
||||||
|
empty_fix=; \
|
||||||
|
fi; \
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
if test "$$subdir" = .; then :; else \
|
if test "$$subdir" = .; then :; else \
|
||||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
test ! -f $$subdir/TAGS || \
|
||||||
|
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||||
@@ -232,8 +358,24 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
|||||||
done | \
|
done | \
|
||||||
$(AWK) ' { files[$$0] = 1; } \
|
$(AWK) ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||||
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
test -n "$$unique" || unique=$$empty_fix; \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
$$tags $$unique; \
|
||||||
|
fi
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||||
|
$(TAGS_FILES) $(LISP)
|
||||||
|
tags=; \
|
||||||
|
here=`pwd`; \
|
||||||
|
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | \
|
||||||
|
$(AWK) ' { files[$$0] = 1; } \
|
||||||
|
END { for (i in files) print i; }'`; \
|
||||||
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||||
$$tags $$unique
|
$$tags $$unique
|
||||||
|
|
||||||
GTAGS:
|
GTAGS:
|
||||||
@@ -242,30 +384,24 @@ GTAGS:
|
|||||||
&& gtags -i $(GTAGS_ARGS) $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
top_distdir = .
|
|
||||||
distdir = $(PACKAGE)-$(VERSION)
|
|
||||||
|
|
||||||
am__remove_distdir = \
|
|
||||||
{ test ! -d $(distdir) \
|
|
||||||
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
|
||||||
&& rm -fr $(distdir); }; }
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
distcleancheck_listfiles = find . -type f -print
|
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
$(am__remove_distdir)
|
$(am__remove_distdir)
|
||||||
mkdir $(distdir)
|
mkdir $(distdir)
|
||||||
$(mkinstalldirs) $(distdir)/. $(distdir)/mk/autoconf
|
$(mkdir_p) $(distdir)/. $(distdir)/mk/autoconf
|
||||||
@list='$(DISTFILES)'; for file in $$list; do \
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||||
|
list='$(DISTFILES)'; for file in $$list; do \
|
||||||
|
case $$file in \
|
||||||
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||||
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||||
|
esac; \
|
||||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
dir="/$$dir"; \
|
dir="/$$dir"; \
|
||||||
$(mkinstalldirs) "$(distdir)$$dir"; \
|
$(mkdir_p) "$(distdir)$$dir"; \
|
||||||
else \
|
else \
|
||||||
dir=''; \
|
dir=''; \
|
||||||
fi; \
|
fi; \
|
||||||
@@ -280,15 +416,17 @@ distdir: $(DISTFILES)
|
|||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||||
if test "$$subdir" = .; then :; else \
|
if test "$$subdir" = .; then :; else \
|
||||||
test -d $(distdir)/$$subdir \
|
test -d "$(distdir)/$$subdir" \
|
||||||
|| mkdir $(distdir)/$$subdir \
|
|| $(mkdir_p) "$(distdir)/$$subdir" \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
distdir=`$(am__cd) $(distdir) && pwd`; \
|
||||||
|
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
||||||
(cd $$subdir && \
|
(cd $$subdir && \
|
||||||
$(MAKE) $(AM_MAKEFLAGS) \
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
top_distdir="$(top_distdir)" \
|
top_distdir="$$top_distdir" \
|
||||||
distdir=../$(distdir)/$$subdir \
|
distdir="$$distdir/$$subdir" \
|
||||||
distdir) \
|
distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
@@ -299,26 +437,54 @@ distdir: $(DISTFILES)
|
|||||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||||
|| chmod -R a+r $(distdir)
|
|| chmod -R a+r $(distdir)
|
||||||
dist-gzip: distdir
|
dist-gzip: distdir
|
||||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
dist-bzip2: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
dist-tarZ: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
dist-shar: distdir
|
||||||
|
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
dist-zip: distdir
|
||||||
|
-rm -f $(distdir).zip
|
||||||
|
zip -rq $(distdir).zip $(distdir)
|
||||||
$(am__remove_distdir)
|
$(am__remove_distdir)
|
||||||
|
|
||||||
dist dist-all: distdir
|
dist dist-all: distdir
|
||||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
$(am__remove_distdir)
|
$(am__remove_distdir)
|
||||||
|
|
||||||
# This target untars the dist file and tries a VPATH configuration. Then
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
# it guarantees that the distribution is self-contained by making another
|
# it guarantees that the distribution is self-contained by making another
|
||||||
# tarfile.
|
# tarfile.
|
||||||
distcheck: dist
|
distcheck: dist
|
||||||
$(am__remove_distdir)
|
case '$(DIST_ARCHIVES)' in \
|
||||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
*.tar.gz*) \
|
||||||
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
||||||
|
*.tar.bz2*) \
|
||||||
|
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||||
|
*.tar.Z*) \
|
||||||
|
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||||
|
*.shar.gz*) \
|
||||||
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
||||||
|
*.zip*) \
|
||||||
|
unzip $(distdir).zip ;;\
|
||||||
|
esac
|
||||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||||
mkdir $(distdir)/=build
|
mkdir $(distdir)/_build
|
||||||
mkdir $(distdir)/=inst
|
mkdir $(distdir)/_inst
|
||||||
chmod a-w $(distdir)
|
chmod a-w $(distdir)
|
||||||
dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||||
&& cd $(distdir)/=build \
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
&& cd $(distdir)/_build \
|
||||||
|
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||||
@@ -326,23 +492,40 @@ distcheck: dist
|
|||||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||||
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||||
|| { echo "ERROR: files left after uninstall:" ; \
|
distuninstallcheck \
|
||||||
find $$dc_install_base -type f -print ; \
|
&& chmod -R a-w "$$dc_install_base" \
|
||||||
exit 1; } >&2 ) \
|
&& ({ \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
|
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||||
&& rm -f $(distdir).tar.gz \
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||||
|
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||||
|
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||||
|
&& rm -rf "$$dc_destdir" \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||||
|
&& rm -rf $(DIST_ARCHIVES) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||||
$(am__remove_distdir)
|
$(am__remove_distdir)
|
||||||
@echo "$(distdir).tar.gz is ready for distribution" | \
|
@(echo "$(distdir) archives ready for distribution: "; \
|
||||||
sed 'h;s/./=/g;p;x;p;x'
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||||
|
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
|
||||||
|
distuninstallcheck:
|
||||||
|
@cd $(distuninstallcheck_dir) \
|
||||||
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||||
|
|| { echo "ERROR: files left after uninstall:" ; \
|
||||||
|
if test -n "$(DESTDIR)"; then \
|
||||||
|
echo " (check DESTDIR support)"; \
|
||||||
|
fi ; \
|
||||||
|
$(distuninstallcheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
distcleancheck: distclean
|
distcleancheck: distclean
|
||||||
if test '$(srcdir)' = . ; then \
|
@if test '$(srcdir)' = . ; then \
|
||||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||||
exit 1 ; \
|
exit 1 ; \
|
||||||
fi
|
fi
|
||||||
test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||||
|| { echo "ERROR: files left after distclean:" ; \
|
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||||
$(distcleancheck_listfiles) ; \
|
$(distcleancheck_listfiles) ; \
|
||||||
exit 1; } >&2
|
exit 1; } >&2
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
@@ -350,7 +533,6 @@ check: check-recursive
|
|||||||
all-am: Makefile config.h
|
all-am: Makefile config.h
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
installdirs-am:
|
installdirs-am:
|
||||||
|
|
||||||
install: install-recursive
|
install: install-recursive
|
||||||
install-exec: install-exec-recursive
|
install-exec: install-exec-recursive
|
||||||
install-data: install-data-recursive
|
install-data: install-data-recursive
|
||||||
@@ -362,7 +544,7 @@ install-am: all-am
|
|||||||
installcheck: installcheck-recursive
|
installcheck: installcheck-recursive
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
INSTALL_STRIP_FLAG=-s \
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
`test -z '$(STRIP)' || \
|
`test -z '$(STRIP)' || \
|
||||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
@@ -370,23 +552,27 @@ mostlyclean-generic:
|
|||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
@echo "This command is intended for maintainers to use"
|
@echo "This command is intended for maintainers to use"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
clean: clean-recursive
|
clean: clean-recursive
|
||||||
|
|
||||||
clean-am: clean-generic mostlyclean-am
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
distclean: distclean-recursive
|
distclean: distclean-recursive
|
||||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||||
|
distclean-libtool distclean-tags
|
||||||
|
|
||||||
dvi: dvi-recursive
|
dvi: dvi-recursive
|
||||||
|
|
||||||
dvi-am:
|
dvi-am:
|
||||||
|
|
||||||
|
html: html-recursive
|
||||||
|
|
||||||
info: info-recursive
|
info: info-recursive
|
||||||
|
|
||||||
info-am:
|
info-am:
|
||||||
@@ -403,32 +589,40 @@ installcheck-am:
|
|||||||
|
|
||||||
maintainer-clean: maintainer-clean-recursive
|
maintainer-clean: maintainer-clean-recursive
|
||||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
-rm -rf autom4te.cache
|
-rm -rf $(top_srcdir)/autom4te.cache
|
||||||
|
-rm -f Makefile
|
||||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-recursive
|
mostlyclean: mostlyclean-recursive
|
||||||
|
|
||||||
mostlyclean-am: mostlyclean-generic
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-recursive
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-recursive
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
uninstall-am: uninstall-info-am
|
uninstall-am: uninstall-info-am
|
||||||
|
|
||||||
uninstall-info: uninstall-info-recursive
|
uninstall-info: uninstall-info-recursive
|
||||||
|
|
||||||
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
|
||||||
clean-generic clean-recursive dist dist-all dist-gzip distcheck \
|
check-am clean clean-generic clean-libtool clean-recursive \
|
||||||
distclean distclean-generic distclean-hdr distclean-recursive \
|
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
|
||||||
distclean-tags distcleancheck distdir dvi dvi-am dvi-recursive \
|
dist-shar dist-tarZ dist-zip distcheck distclean \
|
||||||
info info-am info-recursive install install-am install-data \
|
distclean-generic distclean-hdr distclean-libtool \
|
||||||
install-data-am install-data-recursive install-exec \
|
distclean-recursive distclean-tags distcleancheck distdir \
|
||||||
install-exec-am install-exec-recursive install-info \
|
distuninstallcheck dvi dvi-am html html-am info info-am \
|
||||||
install-info-am install-info-recursive install-man \
|
install install-am install-data install-data-am install-exec \
|
||||||
install-recursive install-strip installcheck installcheck-am \
|
install-exec-am install-info install-info-am install-man \
|
||||||
installdirs installdirs-am installdirs-recursive \
|
install-strip installcheck installcheck-am installdirs \
|
||||||
maintainer-clean maintainer-clean-generic \
|
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||||
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
||||||
mostlyclean-recursive tags tags-recursive uninstall \
|
mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
|
||||||
uninstall-am uninstall-info-am uninstall-info-recursive \
|
tags tags-recursive uninstall uninstall-am uninstall-info-am
|
||||||
uninstall-recursive
|
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
|||||||
47
config.h.in
47
config.h.in
@@ -9,44 +9,8 @@
|
|||||||
/* Define when compiling for Win32 */
|
/* Define when compiling for Win32 */
|
||||||
#undef CS_PLATFORM_WIN32
|
#undef CS_PLATFORM_WIN32
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
/* Define for Win32 platforms */
|
||||||
#undef HAVE_INTTYPES_H
|
#undef NOMINMAX
|
||||||
|
|
||||||
/* Define to 1 if you have the `mx' library (-lmx). */
|
|
||||||
#undef HAVE_LIBMX
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `nsl' library (-lnsl). */
|
|
||||||
#undef HAVE_LIBNSL
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#undef HAVE_MEMORY_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
|
||||||
#undef HAVE_STDINT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
||||||
#undef HAVE_STDLIB_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
|
||||||
#undef HAVE_STRINGS_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
|
||||||
#undef HAVE_STRING_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
||||||
#undef HAVE_SYS_STAT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
||||||
#undef HAVE_SYS_TYPES_H
|
|
||||||
|
|
||||||
/* Whether the int32 type is available */
|
|
||||||
#undef HAVE_TYPE_INT32
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
|
||||||
#undef HAVE_UNISTD_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <windows.h> header file. */
|
|
||||||
#undef HAVE_WINDOWS_H
|
|
||||||
|
|
||||||
/* Name of package */
|
/* Name of package */
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
@@ -66,14 +30,11 @@
|
|||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
|
||||||
#undef STDC_HEADERS
|
|
||||||
|
|
||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
/* Define to 1 if the X Window System is missing or not being used. */
|
/* Define for Win32 platforms */
|
||||||
#undef X_DISPLAY_MISSING
|
#undef WIN32
|
||||||
|
|
||||||
/* Avoid problem caused by missing <Carbon/CarbonSound.h> */
|
/* Avoid problem caused by missing <Carbon/CarbonSound.h> */
|
||||||
#undef __CARBONSOUND__
|
#undef __CARBONSOUND__
|
||||||
|
|||||||
@@ -33,10 +33,10 @@ int gNumManifold = 0;
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
||||||
btCollisionDispatcher::btCollisionDispatcher(bool noDefaultAlgorithms)
|
btCollisionDispatcher::btCollisionDispatcher(bool noDefaultAlgorithms):
|
||||||
:m_useIslands(true),
|
|
||||||
m_convexConvexCreateFunc(0),
|
|
||||||
m_count(0),
|
m_count(0),
|
||||||
|
m_useIslands(true),
|
||||||
|
m_convexConvexCreateFunc(0),
|
||||||
m_convexConcaveCreateFunc(0),
|
m_convexConcaveCreateFunc(0),
|
||||||
m_swappedConvexConcaveCreateFunc(0),
|
m_swappedConvexConcaveCreateFunc(0),
|
||||||
m_compoundCreateFunc(0),
|
m_compoundCreateFunc(0),
|
||||||
@@ -62,8 +62,8 @@ m_emptyCreateFunc(0)
|
|||||||
#ifndef BT_EXCLUDE_DEFAULT_COLLISIONALGORITHM_REGISTRATION
|
#ifndef BT_EXCLUDE_DEFAULT_COLLISIONALGORITHM_REGISTRATION
|
||||||
|
|
||||||
btCollisionDispatcher::btCollisionDispatcher ():
|
btCollisionDispatcher::btCollisionDispatcher ():
|
||||||
m_useIslands(true),
|
m_count(0),
|
||||||
m_count(0)
|
m_useIslands(true)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ typedef void (*btNearCallback)(btBroadphasePair& collisionPair, btCollisionDispa
|
|||||||
///Time of Impact, Closest Points and Penetration Depth.
|
///Time of Impact, Closest Points and Penetration Depth.
|
||||||
class btCollisionDispatcher : public btDispatcher
|
class btCollisionDispatcher : public btDispatcher
|
||||||
{
|
{
|
||||||
|
int m_count;
|
||||||
|
|
||||||
std::vector<btPersistentManifold*> m_manifoldsPtr;
|
std::vector<btPersistentManifold*> m_manifoldsPtr;
|
||||||
|
|
||||||
@@ -68,7 +69,6 @@ class btCollisionDispatcher : public btDispatcher
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
///registerCollisionCreateFunc allows registration of custom/alternative collision create functions
|
///registerCollisionCreateFunc allows registration of custom/alternative collision create functions
|
||||||
void registerCollisionCreateFunc(int proxyType0,int proxyType1, btCollisionAlgorithmCreateFunc* createFunc);
|
void registerCollisionCreateFunc(int proxyType0,int proxyType1, btCollisionAlgorithmCreateFunc* createFunc);
|
||||||
|
|
||||||
@@ -92,8 +92,6 @@ public:
|
|||||||
return m_manifoldsPtr[index];
|
return m_manifoldsPtr[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
int m_count;
|
|
||||||
|
|
||||||
///the default constructor creates/register default collision algorithms, for convex, compound and concave shape support
|
///the default constructor creates/register default collision algorithms, for convex, compound and concave shape support
|
||||||
btCollisionDispatcher ();
|
btCollisionDispatcher ();
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ btVector3 btConvexHullShape::localGetSupportingVertexWithoutMargin(const btVecto
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for (size_t i=0;i<m_points.size();i++)
|
for (int i=0;i<m_points.size();i++)
|
||||||
{
|
{
|
||||||
btPoint3 vtx = m_points[i] * m_localScaling;
|
btPoint3 vtx = m_points[i] * m_localScaling;
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ void btConvexHullShape::batchedUnitVectorGetSupportingVertexWithoutMargin(const
|
|||||||
supportVerticesOut[i][3] = btScalar(-1e30);
|
supportVerticesOut[i][3] = btScalar(-1e30);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (size_t i=0;i<m_points.size();i++)
|
for (int i=0;i<m_points.size();i++)
|
||||||
{
|
{
|
||||||
btPoint3 vtx = m_points[i] * m_localScaling;
|
btPoint3 vtx = m_points[i] * m_localScaling;
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ void btHeightfieldTerrainShape::processAllTriangles(btTriangleCallback* callback
|
|||||||
{
|
{
|
||||||
|
|
||||||
btVector3 halfExtents = (aabbMax - aabbMin) * btScalar(0.5);
|
btVector3 halfExtents = (aabbMax - aabbMin) * btScalar(0.5);
|
||||||
btScalar radius = halfExtents.length();
|
|
||||||
btVector3 center = (aabbMax + aabbMin) * btScalar(0.5);
|
btVector3 center = (aabbMax + aabbMin) * btScalar(0.5);
|
||||||
|
|
||||||
//TODO
|
//TODO
|
||||||
@@ -60,6 +59,7 @@ void btHeightfieldTerrainShape::processAllTriangles(btTriangleCallback* callback
|
|||||||
btVector3 projectedCenter = center - (m_planeNormal.dot(center) - m_planeConstant)*m_planeNormal;
|
btVector3 projectedCenter = center - (m_planeNormal.dot(center) - m_planeConstant)*m_planeNormal;
|
||||||
|
|
||||||
btVector3 triangle[3];
|
btVector3 triangle[3];
|
||||||
|
btScalar radius = halfExtents.length();
|
||||||
triangle[0] = projectedCenter + tangentDir0*radius + tangentDir1*radius;
|
triangle[0] = projectedCenter + tangentDir0*radius + tangentDir1*radius;
|
||||||
triangle[1] = projectedCenter + tangentDir0*radius - tangentDir1*radius;
|
triangle[1] = projectedCenter + tangentDir0*radius - tangentDir1*radius;
|
||||||
triangle[2] = projectedCenter - tangentDir0*radius - tangentDir1*radius;
|
triangle[2] = projectedCenter - tangentDir0*radius - tangentDir1*radius;
|
||||||
|
|||||||
@@ -723,10 +723,10 @@ class DebugDrawcallback : public btTriangleCallback, public btInternalTriangleIn
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
DebugDrawcallback(btIDebugDraw* debugDrawer,const btTransform& worldTrans,const btVector3& color)
|
DebugDrawcallback(btIDebugDraw* debugDrawer,const btTransform& worldTrans,const btVector3& color) :
|
||||||
: m_debugDrawer(debugDrawer),
|
m_debugDrawer(debugDrawer),
|
||||||
m_worldTrans(worldTrans),
|
m_color(color),
|
||||||
m_color(color)
|
m_worldTrans(worldTrans)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,12 +30,12 @@ static int uniqueId = 0;
|
|||||||
|
|
||||||
btRigidBody::btRigidBody(btScalar mass, btMotionState* motionState, btCollisionShape* collisionShape, const btVector3& localInertia,btScalar linearDamping,btScalar angularDamping,btScalar friction,btScalar restitution)
|
btRigidBody::btRigidBody(btScalar mass, btMotionState* motionState, btCollisionShape* collisionShape, const btVector3& localInertia,btScalar linearDamping,btScalar angularDamping,btScalar friction,btScalar restitution)
|
||||||
:
|
:
|
||||||
m_gravity(btScalar(0.0), btScalar(0.0), btScalar(0.0)),
|
|
||||||
m_totalForce(btScalar(0.0), btScalar(0.0), btScalar(0.0)),
|
|
||||||
m_totalTorque(btScalar(0.0), btScalar(0.0), btScalar(0.0)),
|
|
||||||
m_linearVelocity(btScalar(0.0), btScalar(0.0), btScalar(0.0)),
|
m_linearVelocity(btScalar(0.0), btScalar(0.0), btScalar(0.0)),
|
||||||
m_angularVelocity(btScalar(0.),btScalar(0.),btScalar(0.)),
|
m_angularVelocity(btScalar(0.),btScalar(0.),btScalar(0.)),
|
||||||
m_angularFactor(btScalar(1.)),
|
m_angularFactor(btScalar(1.)),
|
||||||
|
m_gravity(btScalar(0.0), btScalar(0.0), btScalar(0.0)),
|
||||||
|
m_totalForce(btScalar(0.0), btScalar(0.0), btScalar(0.0)),
|
||||||
|
m_totalTorque(btScalar(0.0), btScalar(0.0), btScalar(0.0)),
|
||||||
m_linearDamping(btScalar(0.)),
|
m_linearDamping(btScalar(0.)),
|
||||||
m_angularDamping(btScalar(0.5)),
|
m_angularDamping(btScalar(0.5)),
|
||||||
m_optionalMotionState(motionState),
|
m_optionalMotionState(motionState),
|
||||||
|
|||||||
@@ -41,7 +41,9 @@ void* btAlignedAlloc (int size, int alignment)
|
|||||||
|
|
||||||
void btAlignedFree (void* ptr)
|
void btAlignedFree (void* ptr)
|
||||||
{
|
{
|
||||||
delete ptr;
|
delete [] (char*) ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -175,3 +175,5 @@ class btAlignedObjectArray
|
|||||||
};
|
};
|
||||||
|
|
||||||
#endif //BT_OBJECT_ARRAY__
|
#endif //BT_OBJECT_ARRAY__
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user