1#pragma helper_mask_gpr 0x30
2#pragma helper_mask_fpr 0x1000
18 sceVu0FVECTOR other_pos;
20 sceVu0CopyVector(other_pos, other.
pos);
21 sceVu0CopyVector(
pos, this->pos);
22 return DistVector(
pos, other_pos);
27 sceVu0FVECTOR other_pos;
29 sceVu0CopyVector(other_pos, other.
pos);
30 sceVu0CopyVector(
pos, this->pos);
31 sceVu0SubVector(out_direction, other_pos,
pos);
39 this->
pos[0] = position.
x;
40 this->
pos[1] = position.
y;
41 this->
pos[2] = position.
z;
95 out_position->
x = this->
pos[0];
96 out_position->
y = this->
pos[1];
97 out_position->
z = this->
pos[2];
113 *out_moment = this->
moment;
169 this->scale[0] =
scale[0];
170 this->scale[1] =
scale[1];
171 this->scale[2] =
scale[2];
175 out_scale[0] = this->
scale[0];
176 out_scale[1] = this->
scale[1];
177 out_scale[2] = this->
scale[2];
190 this->
pos[0] = this->
pos[1] = this->
pos[2] = 0.0f;
virtual CVector3_f_ * GetMoment()
virtual void GetScale(float *out_scale)
void Initialize(float mass)
virtual CVector3_f_ * GetGravity()
virtual CVector3_f_ * GetRotVelocity()
virtual void SetMoment(CVector3_f_ moment)
virtual void SetScale(float x, float y, float z)
virtual void SetMass(float mass)
virtual void GetPosition(CVector3_f_ *out_position)
void GetDir(CObject &other, float *out_direction)
virtual CVector3_f_ * GetVelocity()
virtual CVector3_f_ * GetRotation()
virtual void SetVelocity(CVector3_f_ velocity)
virtual void SetAcceleration(CVector3_f_ acceleration)
float GetDistance(CObject &other)
CVector3_f_ rot_acceleration
virtual void SetGravity(CVector3_f_ gravity)
virtual void SetPosition(CVector3_f_ position)
virtual void SetRotation(CVector3_f_ rotation)
virtual CVector3_f_ * GetAcceleration()
virtual CVector3_f_ * GetRotAcceleration()
virtual void SetRotVelocity(CVector3_f_ rot_velocity)
virtual void SetRotAcceleration(CVector3_f_ rot_acceleration)