work on the stuff on client
This commit is contained in:
@@ -56,7 +56,6 @@ void CFunnyMesh::SetVertices( IVertexBuffer *pBuffer )
|
||||
|
||||
void CFunnyMesh::SetIndicies( IIndexBuffer *pBuffer, EIndexFormat eIndexFormat )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CFunnyMesh::SetMaterial( IMaterial *pMaterial )
|
||||
@@ -180,7 +179,7 @@ void CFunnyWorldRenderer::Frame( float fDelta )
|
||||
uint32_t uWidth = g_pMainWindow->GetRenderWidth();
|
||||
uint32_t uHeight = g_pMainWindow->GetRenderHeight();
|
||||
mat4 matCamera;
|
||||
glm_perspective(glm_rad(60), uWidth/(float)uHeight, 0.01, 100, matCamera);
|
||||
glm_perspective(glm_rad(60), uWidth/(float)uHeight, 0.01, 10000, matCamera);
|
||||
glm_translate(matCamera, m_vPos);
|
||||
/*
|
||||
V_printf("%f %f %f %f\n", matCamera[0][0], matCamera[0][1], matCamera[0][2], matCamera[0][3]);
|
||||
|
||||
Reference in New Issue
Block a user