User Tools

Site Tools


code_snippets:psx_scaling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
code_snippets:psx_scaling [2024/10/21 19:05] – [Draw()] mrvalentinecode_snippets:psx_scaling [2024/10/21 20:12] (current) – [Draw()] woops mrvalentine
Line 68: Line 68:
  
 // Set up the viewport and scaling matrix // Set up the viewport and scaling matrix
-var viewport = new Viewport(0, 0, 720, 480); // ! 
 var scaleMatrix = Matrix.CreateScale(scaleX, scaleY, 1.0f); // ! var scaleMatrix = Matrix.CreateScale(scaleX, scaleY, 1.0f); // !
  
code_snippets/psx_scaling.1729537529.txt.gz · Last modified: 2024/10/21 19:05 by mrvalentine