dolphin/Source/Core/VideoBackends/Software/Clipper.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
583 B
C
Raw Normal View History

// Copyright 2008 Dolphin Emulator Project
2015-05-18 01:08:10 +02:00
// 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);
2020-12-23 00:00:40 +01:00
void ProcessPoint(OutputVertexData* v);
2016-09-23 02:51:21 +02:00
bool CullTest(const OutputVertexData* v0, const OutputVertexData* v1, const OutputVertexData* v2,
bool& backface);
void PerspectiveDivide(OutputVertexData* vertex);
} // namespace Clipper