예제 #1
0
const Matrix4f& Pipeline::GetWVTrans()
{
	GetWorldTrans();
    GetViewTrans();
	
	m_WVtransformation = m_Vtransformation * m_Wtransformation;
	return m_WVtransformation;
}
예제 #2
0
const Matrix4f& Pipeline::GetVPTrans()
{
    GetViewTrans();
    GetProjTrans();
       
    m_VPtransformation = m_ProjTransformation * m_Vtransformation;
    return m_VPtransformation;
}
예제 #3
0
const FFMatrix4f& FFMvp::GetVPTrans()
{
	GetViewTrans();
	GetProjTrans();

	m4VPtransformation = m4ProjTransformation * m4Vtransformation;
	return m4VPtransformation;
}
예제 #4
0
const FFMatrix4f& FFMvp::GetWVTrans()
{
	GetWorldTrans();
	GetViewTrans();

	m4WVtransformation = m4Vtransformation * m4Wtransformation;
	return m4WVtransformation;
}
예제 #5
0
const Matrix4& Pipeline::GetVPTrans()
{
	GetViewTrans();

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

	m_VPtransformation = PersProjTrans * m_Vtransformation;
	return m_VPtransformation;
}
예제 #6
0
const Matrix4f& Pipeline::GetWVOrthoPTrans()
{
    GetWorldTrans();
    GetViewTrans();

    Matrix4f P;
    P.InitOrthoProjTransform(m_orthoProjInfo);
    
    m_WVPtransformation = P * m_Vtransformation * m_Wtransformation;
    return m_WVPtransformation;
}
예제 #7
0
const FFMatrix4f& FFMvp::GetWVOrthoPTrans()
{
	GetWorldTrans();
	GetViewTrans();

	FFMatrix4f P;
	P.InitOrthoProjTransform(orthoProjInfo);

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