瀏覽代碼

entity draw at _position

develop
Robin Thoni 8 年之前
父節點
當前提交
db79753c58
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      UGameEngine/entities/ugeentity.cpp

+ 1
- 1
UGameEngine/entities/ugeentity.cpp 查看文件

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

Loading…
取消
儲存