69 int frame, LMatrix4d &mat)
const {
70 Key key(joint, type, frame);
90 Table::const_iterator ti;
91 ti = _table.find(key);
92 if (ti == _table.end()) {
107 int frame,
const LMatrix4d &mat) {
108 Key key(joint, type, frame);
123 bool inserted = _table.insert(Table::value_type(key, mat)).second;
EggCharacterDb()
Constructs a database for storing the interim work for the indicated EggCharacterData.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void set_matrix(const EggJointPointer *joint, TableType type, int frame, const LMatrix4d &mat)
Stores the matrix for the indicated joint, type, and frame in the database.
This is a base class for EggJointNodePointer and EggMatrixTablePointer.
bool get_matrix(const EggJointPointer *joint, TableType type, int frame, LMatrix4d &mat) const
Looks up the data for the indicated joint, type, and frame, and fills it in result (and returns true)...