added manual calcs of model-view-proj matrix
This commit is contained in:
@@ -41,13 +41,13 @@ Engine::~Engine() {}
|
||||
|
||||
void Engine::setDefaultScreen()
|
||||
{
|
||||
screen.projectionScale = 4096.0F;
|
||||
screen.nearPlaneDist = 2.0F;
|
||||
screen.farPlaneDist = 2000.0F;
|
||||
screen.fov = 60.0F;
|
||||
screen.aspectRatio = 4.0F / 3.0F;
|
||||
screen.width = 640.0F;
|
||||
screen.height = 480.0F;
|
||||
screen.aspectRatio = screen.width / screen.height;
|
||||
screen.projectionScale = 4096.0F; // PS2 have 4k drawing area
|
||||
}
|
||||
|
||||
void Engine::init(Game *t_game, u32 t_gifPacketSize)
|
||||
|
||||
Reference in New Issue
Block a user