|
|
@ -46,6 +46,7 @@ struct TCameraAnimationInputInfo
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TCameraAnimationInputInfo(const NLMISC::CVector& currCamPos, const NLMISC::CVector& currCamLookAtDir,
|
|
|
|
TCameraAnimationInputInfo(const NLMISC::CVector& currCamPos, const NLMISC::CVector& currCamLookAtDir,
|
|
|
|
const NLMISC::CVector& startCamPos, const NLMISC::CVector& startCamLookAtDir,
|
|
|
|
const NLMISC::CVector& startCamPos, const NLMISC::CVector& startCamLookAtDir,
|
|
|
|
|
|
|
|
const NLMISC::CVector& animStartCamPos, const NLMISC::CVector& animStartCamLookAtDir,
|
|
|
|
float elapsedTimeSinceStartStep)
|
|
|
|
float elapsedTimeSinceStartStep)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CamPos = currCamPos;
|
|
|
|
CamPos = currCamPos;
|
|
|
@ -54,6 +55,9 @@ struct TCameraAnimationInputInfo
|
|
|
|
StartCamPos = startCamPos;
|
|
|
|
StartCamPos = startCamPos;
|
|
|
|
StartCamLookAtDir = startCamLookAtDir;
|
|
|
|
StartCamLookAtDir = startCamLookAtDir;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AnimStartCamPos = startCamPos;
|
|
|
|
|
|
|
|
AnimStartCamLookAtDir = startCamLookAtDir;
|
|
|
|
|
|
|
|
|
|
|
|
ElapsedTimeSinceStartStep = elapsedTimeSinceStartStep;
|
|
|
|
ElapsedTimeSinceStartStep = elapsedTimeSinceStartStep;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -65,6 +69,9 @@ struct TCameraAnimationInputInfo
|
|
|
|
StartCamPos = input.StartCamPos;
|
|
|
|
StartCamPos = input.StartCamPos;
|
|
|
|
StartCamLookAtDir = input.StartCamLookAtDir;
|
|
|
|
StartCamLookAtDir = input.StartCamLookAtDir;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AnimStartCamPos = input.AnimStartCamPos;
|
|
|
|
|
|
|
|
AnimStartCamLookAtDir = input.AnimStartCamLookAtDir;
|
|
|
|
|
|
|
|
|
|
|
|
ElapsedTimeSinceStartStep = input.ElapsedTimeSinceStartStep;
|
|
|
|
ElapsedTimeSinceStartStep = input.ElapsedTimeSinceStartStep;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -82,6 +89,9 @@ struct TCameraAnimationInputInfo
|
|
|
|
NLMISC::CVector StartCamPos; /// Start camera position
|
|
|
|
NLMISC::CVector StartCamPos; /// Start camera position
|
|
|
|
NLMISC::CVector StartCamLookAtDir; /// Start camera look at direction
|
|
|
|
NLMISC::CVector StartCamLookAtDir; /// Start camera look at direction
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NLMISC::CVector AnimStartCamPos; /// Camera position at animation start
|
|
|
|
|
|
|
|
NLMISC::CVector AnimStartCamLookAtDir; /// Camera look at direction an animation start
|
|
|
|
|
|
|
|
|
|
|
|
float ElapsedTimeSinceStartStep; /// Elapsed time in second since the beginning of this step
|
|
|
|
float ElapsedTimeSinceStartStep; /// Elapsed time in second since the beginning of this step
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|