Browse Source

*** empty log message ***

David Rose 24 years ago
parent
commit
384387acc4

+ 1 - 1
panda/src/linmath/lmatrix3_src.I

@@ -587,7 +587,7 @@ transpose(const FLOATNAME(LMatrix3) &a) {
 #define MATRIX3_DETERMINANT(mat)                                  \
 #define MATRIX3_DETERMINANT(mat)                                  \
    ( (mat)._00 * DET2((mat)._11,(mat)._12,(mat)._21,(mat)._22)    \
    ( (mat)._00 * DET2((mat)._11,(mat)._12,(mat)._21,(mat)._22)    \
     -(mat)._01 * DET2((mat)._10,(mat)._12,(mat)._20,(mat)._22)    \
     -(mat)._01 * DET2((mat)._10,(mat)._12,(mat)._20,(mat)._22)    \
-    +(mat)._01 * DET2((mat)._10,(mat)._11,(mat)._20,(mat)._21))
+    +(mat)._02 * DET2((mat)._10,(mat)._11,(mat)._20,(mat)._21))
 
 
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////

+ 5 - 0
pandatool/src/lwoprogs/Sources.pp

@@ -17,6 +17,11 @@
   #define TARGET lwo-scan
   #define TARGET lwo-scan
   #define LOCAL_LIBS lwo progbase
   #define LOCAL_LIBS lwo progbase
 
 
+  #define OTHER_LIBS \
+    linmath:c panda:m \
+    express:c pandaexpress:m \
+    dtoolutil:c dconfig:c dtoolconfig:m dtool:m pystub
+
   #define SOURCES \
   #define SOURCES \
     lwoScan.cxx lwoScan.h
     lwoScan.cxx lwoScan.h
 
 

+ 1 - 0
pandatool/src/lwoprogs/lwoScan.cxx

@@ -73,6 +73,7 @@ handle_args(ProgramBase::Args &args) {
 
 
 int
 int
 main(int argc, char *argv[]) {
 main(int argc, char *argv[]) {
+  init_liblwo();
   LwoScan prog;
   LwoScan prog;
   prog.parse_command_line(argc, argv);
   prog.parse_command_line(argc, argv);
   prog.run();
   prog.run();