mVec and Egg Math (Quat, Vector3f, Matrix34f)

This commit is contained in:
elijah-thomas774
2023-12-20 13:22:31 -05:00
parent f3a1a03109
commit 7dd9c9ea6f
11 changed files with 1138 additions and 92 deletions
+18 -4
View File
@@ -158,15 +158,29 @@ int dAcBase_c::create() {
void dAcBase_c::postCreate(fBase_c::MAIN_STATE_e state) {
if (state == SUCCESS) {
pos_copy = position;
copyRotation();
pos_copy = position;
rot_copy = rotation;
room_id_copy = roomid;
}
dBase_c::postCreate(state);
}
int dAcBase_c::preDelete() {}
int dAcBase_c::preExecute() {}
int dAcBase_c::preDelete() {
}
int dAcBase_c::preExecute() {
if (dBase_c::preExecute() == NOT_READY) {
return NOT_READY;
}
if (actor_properties & 0x10000000) {
if (actor_properties & 0x40000000) {
return NOT_READY;
}
// TODO: Add event control
}
return SUCCEEDED;
}
int dAcBase_c::execute() {}
int dAcBase_c::actorExecute() {}
int dAcBase_c::actorExecuteInEvent() {}