t
|
Contains various algorithms. More...
#include "math/Vector3.hpp"
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | t |
The t software 3D graphics library namespace. | |
Functions | |
std::vector< std::pair< int, int > > | t::bresenhamLow (int x0, int y0, int x1, int y1) |
Used internally by bresenham . | |
std::vector< std::pair< int, int > > | t::bresenhamHigh (int x0, int y0, int x1, int y1) |
Used internally by bresenham . | |
std::vector< std::pair< int, int > > | t::bresenham (int x0, int y0, int x1, int y1) |
Computes and returns the points of a line using the Bresenham's line algorithm. | |
Vector3 | t::barycentric (Vector3 point, Vector3 vertexA, Vector3 vertexB, Vector3 vertexC) |
Computes and returns the barycentric coordinates of a point in a triangle. | |
Contains various algorithms.