DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
objectframe2.cpp
1#pragma helper_mask_gpr 0x30
2#pragma helper_mask_fpr 0x1000
3
4#include "objectframe.hpp"
5
7 this->moment = moment;
8 this->rotation_changed = true;
9}
10
11void CObjectFrame::SetRotation(float x, float y, float z) {
12 this->rotation.x = x;
13 this->rotation.y = y;
14 this->rotation.z = z;
15 this->rotation_changed = true;
16}
17
19 this->rotation = rotation;
20 this->rotation_changed = true;
21}
22
24 this->rot_velocity = rot_velocity;
25 this->rotation_changed = true;
26}
27
29 this->rot_acceleration = rot_acceleration;
30 this->rotation_changed = true;
31}
virtual void SetRotVelocity(CVector3_f_ rot_velocity)
virtual void SetRotation(CVector3_f_ rotation)
virtual void SetMoment(CVector3_f_ moment)
virtual void SetRotAcceleration(CVector3_f_ rot_acceleration)
s32 rotation_changed
Definition op_b.cpp:77
CVector3_f_ rotation
Definition object.hpp:23
CVector3_f_ rot_velocity
Definition object.hpp:24
CVector3_f_ rot_acceleration
Definition object.hpp:25
CVector3_f_ moment
Definition object.hpp:22