Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Spr::PHContactEngine::FrameRecord Class Reference

判定対象フレームごとのデータ More...

#include <PHContactEngine.h>

Inherits Spr::SGObject.

Collaboration diagram for Spr::PHContactEngine::FrameRecord:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Public Attributes

UpdateChacheで更新する変数

Detailed Description

判定対象フレームごとのデータ

Definition at line 19 of file PHContactEngine.h.


Constructor & Destructor Documentation

Spr::PHContactEngine::FrameRecord::FrameRecord  )  [inline]
 

s

Definition at line 34 of file PHContactEngine.h.

References count.


Member Function Documentation

void Spr::PHContactEngine::FrameRecord::UpdateCache int  c  ) 
 

キャッシュ変数を剛体などから取ってくる.


Member Data Documentation

unsigned Spr::PHContactEngine::FrameRecord::count
 

最後に接触した時刻 = キャッシュパラメータを最後に更新した時刻. 接触時に,キャッシュを更新するので,count が現在の時刻と等しければ 衝突が起きたことを意味する.

Definition at line 26 of file PHContactEngine.h.

Referenced by FrameRecord().

Vec3f Spr::PHContactEngine::FrameRecord::angVel
 

重心,速度,角速度

Definition at line 28 of file PHContactEngine.h.

Vec3f Spr::PHContactEngine::FrameRecord::lastPos
 

位置,最後の位置

Definition at line 29 of file PHContactEngine.h.

Quaternionf Spr::PHContactEngine::FrameRecord::lastOri
 

向き,前回の向き

Definition at line 30 of file PHContactEngine.h.

PHSolid* Spr::PHContactEngine::FrameRecord::solid
 

判定対象剛体

Definition at line 33 of file PHContactEngine.h.


The documentation for this class was generated from the following file:
Generated on Sun Apr 16 02:08:42 2006 for Springhead by  doxygen 1.4.1