浏览代码

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)

正在加载...
取消
保存