nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
orthographic_vertex_shader.h
1#ifndef NXDK_PGRAPH_TESTS_SHADERS_ORTHOGRAPHIC_VERTEX_SHADER_H_
2#define NXDK_PGRAPH_TESTS_SHADERS_ORTHOGRAPHIC_VERTEX_SHADER_H_
3
4#include "projection_vertex_shader.h"
5
7 public:
8 OrthographicVertexShader(uint32_t framebuffer_width, uint32_t framebuffer_height, float left, float right,
9 float bottom, float top, float near, float far, float z_min = 0, float z_max = 0x7FFF);
10
11 protected:
12 void CalculateProjectionMatrix() override;
13
14 private:
15 float width_;
16 float height_;
17 float far_minus_near_;
18 float far_plus_near_;
19};
20
21#endif // NXDK_PGRAPH_TESTS_SHADERS_ORTHOGRAPHIC_VERTEX_SHADER_H_
Definition orthographic_vertex_shader.h:6
Definition projection_vertex_shader.h:11