mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
26 lines
568 B
C++
26 lines
568 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
struct OutputVertexData;
|
|
class PointerWrap;
|
|
|
|
namespace Clipper
|
|
{
|
|
void Init();
|
|
|
|
void SetViewOffset();
|
|
|
|
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);
|
|
|
|
void DoState(PointerWrap &p);
|
|
}
|