1
This commit is contained in:
parent
03ab985b8b
commit
82a6b4ef01
@ -269,7 +269,7 @@ void RoomObstacle::Active()
|
||||
{
|
||||
#if 0
|
||||
if (master.Get() && !GlmHelper::IsZero(master.Get()->GetMoveDir())) {
|
||||
SetRotate(master.Get()->GetMoveDir().CalcAngleEx(a8::Vec2::UP));
|
||||
SetRotate(master.Get()->GetMoveDir().CalcAngleEx(GlmHelper::UP));
|
||||
}
|
||||
CalcTempPassObjects();
|
||||
#endif
|
||||
@ -279,7 +279,7 @@ void RoomObstacle::Active()
|
||||
{
|
||||
#if 0
|
||||
if (master.Get() && !GlmHelper::IsZero(master.Get()->GetMoveDir())) {
|
||||
SetRotate(master.Get()->GetMoveDir().CalcAngleEx(a8::Vec2::UP));
|
||||
SetRotate(master.Get()->GetMoveDir().CalcAngleEx(GlmHelper::UP));
|
||||
}
|
||||
ActiveStrengthenWall();
|
||||
#endif
|
||||
@ -494,8 +494,8 @@ void RoomObstacle::SummonAirDropBox(int box_id)
|
||||
Position born_pos = GetPos();
|
||||
const mt::MapThing* thing_meta = mt::MapThing::GetById(box_id);
|
||||
if (thing_meta && thing_meta->summon_born_rad() > 0) {
|
||||
a8::Vec2 born_dir = a8::Vec2::UP;
|
||||
born_dir.Rotate(GetUniId());
|
||||
glm::vec3 born_dir = Glmhelper::UP;
|
||||
GlmHelper::RotateY(born_dir, GetUniId());
|
||||
// 999
|
||||
#if 1
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user