コード例 #1
0
ファイル: bot.cpp プロジェクト: DenMSC/qfusion
//==========================================
// BOT_DMclass_RunFrame
// States Machine & call client movement
//==========================================
void Bot::Frame()
{
    // Call superclass method first
    Ai::Frame();

    if (IsGhosting())
        GhostingFrame();
    else
        ActiveFrame();
}
コード例 #2
0
	void ProfilerGPU::beginFrame()
	{
		if (mIsFrameActive)
			BS_EXCEPT(InvalidStateException, "Cannot begin a frame because another frame is active.");

		mActiveFrame = ActiveFrame();

		mActiveFrame.frameSample.sampleName = "Frame";
		beginSampleInternal(mActiveFrame.frameSample);

		mIsFrameActive = true;
	}