mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
8b0fd623e5
Just use the global state.
21 lines
493 B
C++
21 lines
493 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
struct OutputVertexData;
|
|
|
|
namespace Clipper
|
|
{
|
|
void Init();
|
|
|
|
void ProcessTriangle(OutputVertexData *v0, OutputVertexData *v1, OutputVertexData *v2);
|
|
|
|
void ProcessLine(OutputVertexData *v0, OutputVertexData *v1);
|
|
|
|
bool CullTest(OutputVertexData *v0, OutputVertexData *v1, OutputVertexData *v2, bool &backface);
|
|
|
|
void PerspectiveDivide(OutputVertexData *vertex);
|
|
}
|