define matrix_components

This commit is contained in:
David Rose 2003-07-22 01:49:06 +00:00
parent 0f87a88945
commit 06808bf5f2
2 changed files with 10 additions and 2 deletions

View File

@ -27,4 +27,5 @@
#include "compose_matrix_src.cxx"
const char * const matrix_components = "ijkhprxyz";
const int num_matrix_components = 9;

View File

@ -32,8 +32,9 @@
//
////////////////////////////////////////////////////////////////////
#include <pandabase.h>
#include "pandabase.h"
#include <math.h>
#include "lmatrix.h"
#include "lvector3.h"
#include "lvector2.h"
@ -49,5 +50,11 @@
#include "dblnames.h"
#include "compose_matrix_src.h"
// These define the standard one-letter names for the components in
// the array-accepting forms of compose_matrix() and
// decompose_matrix().
EXPCL_PANDA extern const char * const matrix_components;
EXPCL_PANDA extern const int num_matrix_components;
#endif