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
22size_t clipTriangle(const SRPTriangle* in, const SRPShaderProgram* sp, SRPTriangle* out);
23
28bool clipLine(SRPLine* line, const SRPShaderProgram* sp);
29
33bool clipPoint(SRPPoint* p);
34
// ingroup Clipping
size_t clipTriangle(const SRPTriangle *in, const SRPShaderProgram *sp, SRPTriangle *out)
Definition clipping.c:68
bool clipPoint(SRPPoint *p)
Definition clipping.c:185
bool clipLine(SRPLine *line, const SRPShaderProgram *sp)
Definition clipping.c:139
Definition line.h:18
Definition point.h:18
Definition shaders.h:93
Definition triangle.h:18