コード例 #1
0
ファイル: pipeline.cpp プロジェクト: FNickRU/OGL_project
const Matrix4f& Pipeline::GetWVTrans()
{
	GetWorldTrans();
    GetViewTrans();
	
	m_WVtransformation = m_Vtransformation * m_Wtransformation;
	return m_WVtransformation;
}
コード例 #2
0
ファイル: pipeline.cpp プロジェクト: FNickRU/OGL_project
const Matrix4f& Pipeline::GetVPTrans()
{
    GetViewTrans();
    GetProjTrans();
       
    m_VPtransformation = m_ProjTransformation * m_Vtransformation;
    return m_VPtransformation;
}
コード例 #3
0
ファイル: mvp.cpp プロジェクト: yangfanfei/GLFramework
const FFMatrix4f& FFMvp::GetVPTrans()
{
	GetViewTrans();
	GetProjTrans();

	m4VPtransformation = m4ProjTransformation * m4Vtransformation;
	return m4VPtransformation;
}
コード例 #4
0
ファイル: mvp.cpp プロジェクト: yangfanfei/GLFramework
const FFMatrix4f& FFMvp::GetWVTrans()
{
	GetWorldTrans();
	GetViewTrans();

	m4WVtransformation = m4Vtransformation * m4Wtransformation;
	return m4WVtransformation;
}
コード例 #5
0
ファイル: Pipeline.cpp プロジェクト: jingweilim/GAM300
const Matrix4& Pipeline::GetVPTrans()
{
	GetViewTrans();

	Matrix4 PersProjTrans;
	PersProjTrans = PersProjTrans.PersProjTransform(m_persProjInfo);

	m_VPtransformation = PersProjTrans * m_Vtransformation;
	return m_VPtransformation;
}
コード例 #6
0
ファイル: pipeline.cpp プロジェクト: FNickRU/OGL_project
const Matrix4f& Pipeline::GetWVOrthoPTrans()
{
    GetWorldTrans();
    GetViewTrans();

    Matrix4f P;
    P.InitOrthoProjTransform(m_orthoProjInfo);
    
    m_WVPtransformation = P * m_Vtransformation * m_Wtransformation;
    return m_WVPtransformation;
}
コード例 #7
0
ファイル: mvp.cpp プロジェクト: yangfanfei/GLFramework
const FFMatrix4f& FFMvp::GetWVOrthoPTrans()
{
	GetWorldTrans();
	GetViewTrans();

	FFMatrix4f P;
	P.InitOrthoProjTransform(orthoProjInfo);

	m4WVPtransformation = P * m4Vtransformation * m4Wtransformation;
	return m4WVPtransformation;
}