srp
software rendering pipeline
Loading...
Searching...
No Matches
clipping.h
Go to the documentation of this file.
1
// Software Rendering Pipeline (SRP) library
2
// Licensed under GNU GPLv3
3
8
#pragma once
9
10
#include "
raster/triangle.h
"
11
#include "
raster/line.h
"
12
#include "
raster/point.h
"
13
22
size_t
clipTriangle
(
const
SRPTriangle
* in,
const
SRPShaderProgram
* sp,
SRPTriangle
* out);
23
28
bool
clipLine
(
SRPLine
* line,
const
SRPShaderProgram
* sp);
29
33
bool
clipPoint
(
SRPPoint
* p);
34
// ingroup Clipping
clipTriangle
size_t clipTriangle(const SRPTriangle *in, const SRPShaderProgram *sp, SRPTriangle *out)
Definition
clipping.c:68
clipPoint
bool clipPoint(SRPPoint *p)
Definition
clipping.c:185
clipLine
bool clipLine(SRPLine *line, const SRPShaderProgram *sp)
Definition
clipping.c:139
line.h
point.h
SRPLine
Definition
line.h:18
SRPPoint
Definition
point.h:18
SRPShaderProgram
Definition
shaders.h:93
SRPTriangle
Definition
triangle.h:18
triangle.h
src
pipeline
clipping.h
Generated by
1.9.8