summaryrefslogtreecommitdiffstats
path: root/src/video_core/debug_utils/debug_utils.h
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-08-17 17:44:55 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-08-25 22:03:19 +0200
commit2f1c129f6407fe2d5c8c3e57c6717d5668570de5 (patch)
tree5d12dadd9ffe3b46b9b94a84b7688d6d3b8260fd /src/video_core/debug_utils/debug_utils.h
parentPica/Rasterizer: Add texturing support. (diff)
downloadyuzu-2f1c129f6407fe2d5c8c3e57c6717d5668570de5.tar
yuzu-2f1c129f6407fe2d5c8c3e57c6717d5668570de5.tar.gz
yuzu-2f1c129f6407fe2d5c8c3e57c6717d5668570de5.tar.bz2
yuzu-2f1c129f6407fe2d5c8c3e57c6717d5668570de5.tar.lz
yuzu-2f1c129f6407fe2d5c8c3e57c6717d5668570de5.tar.xz
yuzu-2f1c129f6407fe2d5c8c3e57c6717d5668570de5.tar.zst
yuzu-2f1c129f6407fe2d5c8c3e57c6717d5668570de5.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/debug_utils/debug_utils.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h
index 53c33c96e..8b1499bf2 100644
--- a/src/video_core/debug_utils/debug_utils.h
+++ b/src/video_core/debug_utils/debug_utils.h
@@ -14,20 +14,18 @@ namespace Pica {
namespace DebugUtils {
-using TriangleTopology = Regs::TriangleTopology;
-
// Simple utility class for dumping geometry data to an OBJ file
class GeometryDumper {
public:
- void AddVertex(std::array<float,3> pos, TriangleTopology topology);
-
- void Dump();
-
-private:
struct Vertex {
std::array<float,3> pos;
};
+ void AddTriangle(Vertex& v0, Vertex& v1, Vertex& v2);
+
+ void Dump();
+
+private:
struct Face {
int index[3];
};