Преглед на файлове

entity draw at _position

develop
Robin Thoni преди 9 години
родител
ревизия
db79753c58
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      UGameEngine/entities/ugeentity.cpp

+ 1
- 1
UGameEngine/entities/ugeentity.cpp Целия файл

91
 
91
 
92
 Vector3D UGEEntity::getRealPoint(const Vector3D &pos)
92
 Vector3D UGEEntity::getRealPoint(const Vector3D &pos)
93
 {
93
 {
94
-    return pos;
94
+    return pos + _position;
95
 }
95
 }
96
 
96
 
97
 ColorVector3D UGEEntity::getRealPoint(const ColorVector3D &pos)
97
 ColorVector3D UGEEntity::getRealPoint(const ColorVector3D &pos)

Loading…
Отказ
Запис