このサイトはJavaScriptを使用しています
ホーム
ヘルプ
サインイン
lolengine
/
lol
ミラー元
https://github.com/lolengine/lol
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
リリース
0
Wiki
アクティビティ
ソースを参照
core: make WorldEntity rotation a quaternion.
legacy
Sam Hocevar
sam
13年前
親
75021144ae
コミット
032b7ed47d
2個のファイルの変更
、
2行の追加
、
2行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+1
-1
src/worldentity.cpp
+1
-1
src/worldentity.h
+ 1
- 1
src/worldentity.cpp
ファイルの表示
@@ -26,7 +26,7 @@ namespace lol
WorldEntity::WorldEntity()
{
m_position = vec3(0);
m_rotation =
vec3(0
);
m_rotation =
quat(1
);
m_velocity = vec3(0);
m_bbox[0] = m_bbox[1] = vec3(0);
+ 1
- 1
src/worldentity.h
ファイルの表示
@@ -25,8 +25,8 @@ class WorldEntity : public Entity
{
public:
vec3 m_position;
vec3 m_rotation;
vec3 m_velocity;
quat m_rotation;
vec3 m_bbox[2];
ivec2 m_mousepos;
書き込み
プレビュー
読み込み中…
キャンセル
保存