mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
VideoCommon/Statistics: Use std::array for projection values
Makes the members within the interface much nicer to look at, and also makes copying them over much nicer too.
This commit is contained in:
parent
baf02194c1
commit
04c06ec661
6 changed files with 36 additions and 72 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
|
||||
#include "Common/BitField.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "VideoCommon/CPMemory.h"
|
||||
|
@ -245,7 +247,9 @@ struct Viewport
|
|||
|
||||
struct Projection
|
||||
{
|
||||
float rawProjection[6];
|
||||
using Raw = std::array<float, 6>;
|
||||
|
||||
Raw rawProjection;
|
||||
u32 type; // only GX_PERSPECTIVE or GX_ORTHOGRAPHIC are allowed
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue