mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
28 lines
599 B
C++
28 lines
599 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "Common.h"
|
|
#include "NativeVertexFormat.h"
|
|
#include "ChunkFile.h"
|
|
|
|
|
|
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);
|
|
}
|