D3DXVECTOR3 ObjectInstance::GetBoxMin()
{
if (!this)
return D3DXVECTOR3(0, 0, 0);
return read<D3DXVECTOR3>((uintptr_t)this + 0x0008);
}
D3DXVECTOR3 ObjectInstance::GetBoxMax()
{
if (!this)
return D3DXVECTOR3(0, 0, 0);
return read<D3DXVECTOR3>((uintptr_t)this + 0x0014);
}
Vector3 CameraMatrix::Position()
{
if (!this)
return Vector3(0, 0, 0);
return read< Vector3>((uintptr_t)this + 0x0030);
}
D3DXVECTOR3 ObjectInstance::GetPosition()
{
return read<D3DXVECTOR3>((uintptr_t)this + 0x18C);
}