Changeset 4572 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Jun 10, 2005, 1:17:13 AM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/defs/include_paths.am
r4529 r4572 17 17 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/physics/fields 18 18 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/collision_detection 19 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/newmat 19 20 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/sound 20 21 AM_CXXFLAGS+=-I$(MAINSRCDIR)/defs -
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r4568 r4572 23 23 24 24 #include <math.h> 25 26 27 #define WANT_STREAM 28 #define WANT_MATH 29 #define WANT_FSTREAM 30 31 32 #include "include.h" 33 #include "newmat.h" 34 #include "newmatap.h" 35 #include "newmatio.h" 36 37 38 25 39 26 40 using namespace std; … … 152 166 vectors 153 167 */ 168 169 SymmetricMatrix C(3); 170 171 C(1,1) = 1; 172 C(1,2) = 4; 173 C(1,3) = 4; 174 C(2,1) = 4; 175 C(2,2) = 2; 176 C(2,3) = 4; 177 C(3,1) = 4; 178 C(3,2) = 4; 179 C(3,3) = 3; 180 181 // cout << "The symmetrix matrix C" << endl; 182 //cout << setw(5) << setprecision(0) << C << endl; 183 184 Matrix V(3,3); // for eigenvectors 185 DiagonalMatrix D(3); // for eigenvalues 186 187 // the decomposition 188 Jacobi(C, D, V); 189 190 191 // Print the result 192 /* cout << "The eigenvalues matrix:" << endl; 193 cout << setw(10) << setprecision(5) << D << endl; 194 cout << "The eigenvectors matrix:" << endl;*/ 154 195 155 196 -
orxonox/trunk/src/lib/newmat/Makefile
r4569 r4572 26 26 top_builddir = ../../.. 27 27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 28 INSTALL = / usr/bin/install -c28 INSTALL = /bin/install -c 29 29 install_sh_DATA = $(install_sh) -c -m 644 30 30 install_sh_PROGRAM = $(install_sh) -c … … 107 107 CTAGS = ctags 108 108 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 109 ACLOCAL = ${SHELL} /home/b ensch/svn/orxonox/trunk/missing --run aclocal-1.8109 ACLOCAL = ${SHELL} /home/boenzlip/orxonox/repos/trunk/missing --run aclocal-1.8 110 110 AMDEP_FALSE = # 111 111 AMDEP_TRUE = 112 AMTAR = ${SHELL} /home/b ensch/svn/orxonox/trunk/missing --run tar113 AUTOCONF = ${SHELL} /home/b ensch/svn/orxonox/trunk/missing --run autoconf114 AUTOHEADER = ${SHELL} /home/b ensch/svn/orxonox/trunk/missing --run autoheader115 AUTOMAKE = ${SHELL} /home/b ensch/svn/orxonox/trunk/missing --run automake-1.8112 AMTAR = ${SHELL} /home/boenzlip/orxonox/repos/trunk/missing --run tar 113 AUTOCONF = ${SHELL} /home/boenzlip/orxonox/repos/trunk/missing --run autoconf 114 AUTOHEADER = ${SHELL} /home/boenzlip/orxonox/repos/trunk/missing --run autoheader 115 AUTOMAKE = ${SHELL} /home/boenzlip/orxonox/repos/trunk/missing --run automake-1.8 116 116 AWK = gawk 117 117 CC = gcc … … 121 121 CPPFLAGS = -I/usr/X11R6/include -I/usr/include/SDL 122 122 CURL_CFLAGS = 123 CURL_LIBS = -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz123 CURL_LIBS = 124 124 CXX = g++ 125 125 CXXDEPMODE = depmode=gcc3 … … 141 141 GPROF = /usr/bin/gprof 142 142 GTK2_CFLAGS = -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 143 GTK2_LIBS = - lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0144 HAVE_CURL_FALSE = #145 HAVE_CURL_TRUE = 143 GTK2_LIBS = -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 144 HAVE_CURL_FALSE = 145 HAVE_CURL_TRUE = # 146 146 HAVE_GTK2_FALSE = # 147 147 HAVE_GTK2_TRUE = … … 154 154 LIBS = -lm -lGL -lGLU -lSDL -lopenal -logg -lvorbis -lvorbisfile -lSDL_ttf -lSDL_image 155 155 LTLIBOBJS = 156 MAKEINFO = ${SHELL} /home/b ensch/svn/orxonox/trunk/missing --run makeinfo156 MAKEINFO = ${SHELL} /home/boenzlip/orxonox/repos/trunk/missing --run makeinfo 157 157 MSBITFIELDS = 158 158 OBJEXT = o … … 198 198 includedir = ${prefix}/include 199 199 infodir = ${prefix}/info 200 install_sh = /home/b ensch/svn/orxonox/trunk/install-sh200 install_sh = /home/boenzlip/orxonox/repos/trunk/install-sh 201 201 libdir = ${exec_prefix}/lib 202 202 libexecdir = ${exec_prefix}/libexec -
orxonox/trunk/src/subprojects/collision_detection/Makefile.am
r4549 r4572 10 10 $(MAINSRCDIR)/lib/sound/libORXsound.a \ 11 11 $(MAINSRCDIR)/lib/tinyxml/libtinyxml.a \ 12 $(MAINSRCDIR)/lib/newmat/libnewmat.a \ 12 13 $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) \ 13 14 -lpthread … … 37 38 $(MAINSRCDIR)/lib/coord/p_node.cc \ 38 39 $(MAINSRCDIR)/lib/coord/null_parent.cc \ 39 $(MAINSRCDIR)/lib/gui/gui_gtk.cc 40 $(MAINSRCDIR)/lib/gui/gui_gtk.cc \ 41 $(MAINSRCDIR)/lib/newmat/include.h \ 42 $(MAINSRCDIR)/lib/newmat/newmat.h \ 43 $(MAINSRCDIR)/lib/newmat/newmatap.h \ 44 $(MAINSRCDIR)/lib/newmatio.h -
orxonox/trunk/src/subprojects/collision_detection/Makefile.in
r4549 r4572 71 71 $(MAINSRCDIR)/lib/event/libORXevent.a \ 72 72 $(MAINSRCDIR)/lib/sound/libORXsound.a \ 73 $(MAINSRCDIR)/lib/tinyxml/libtinyxml.a $(am__DEPENDENCIES_1) \ 73 $(MAINSRCDIR)/lib/tinyxml/libtinyxml.a \ 74 $(MAINSRCDIR)/lib/newmat/libnewmat.a $(am__DEPENDENCIES_1) \ 74 75 $(am__DEPENDENCIES_1) 75 76 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) … … 103 104 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 104 105 -o $@ 106 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 107 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 108 CCLD = $(CC) 109 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 105 110 SOURCES = $(collision_SOURCES) 106 111 DIST_SOURCES = $(collision_SOURCES) … … 222 227 $(MAINSRCDIR)/lib/sound/libORXsound.a \ 223 228 $(MAINSRCDIR)/lib/tinyxml/libtinyxml.a \ 229 $(MAINSRCDIR)/lib/newmat/libnewmat.a \ 224 230 $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) \ 225 231 -lpthread … … 249 255 $(MAINSRCDIR)/lib/coord/p_node.cc \ 250 256 $(MAINSRCDIR)/lib/coord/null_parent.cc \ 251 $(MAINSRCDIR)/lib/gui/gui_gtk.cc 257 $(MAINSRCDIR)/lib/gui/gui_gtk.cc \ 258 $(MAINSRCDIR)/lib/newmat/include.h \ 259 $(MAINSRCDIR)/lib/newmat/newmat.h \ 260 $(MAINSRCDIR)/lib/newmat/newmatap.h \ 261 $(MAINSRCDIR)/lib/newmatio.h 252 262 253 263 all: all-am
Note: See TracChangeset
for help on using the changeset viewer.