| TGX 1.0.5 A tiny 2D/3D graphics library optimized for 32 bits microcontrollers.

Loading...
Searching...
No Matches
tgx.h
Go to the documentation of this file.
1
6//
7// Copyright 2020 Arvind Singh
8//
9// This library is free software; you can redistribute it and/or
10// modify it under the terms of the GNU Lesser General Public
11// License as published by the Free Software Foundation; either
12//version 2.1 of the License, or (at your option) any later version.
13//
14// This library is distributed in the hope that it will be useful,
15// but WITHOUT ANY WARRANTY; without even the implied warranty of
16// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the GNU
17// Lesser General Public License for more details.
18//
19// You should have received a copy of the GNU Lesser General Public
20// License along with this library; If not, see <http://www.gnu.org/licenses/>.
21#ifndef _TGX_H_
22#define _TGX_H_
23
26#include "Fonts.h" // include this when compiled as a C file
27
28// and now only C++, no more plain C
29#ifdef __cplusplus
30
31#include "Misc.h"
32#include "Vec2.h"
33#include "Vec3.h"
34#include "Vec4.h"
35#include "Mat4.h"
36#include "Box2.h"
37#include "Box3.h"
38#include "Color.h"
39#include "Image.h"
40#include "Mesh3D.h"
41#include "Renderer3D.h"
42
43#endif
44
45#endif // _TGX_H_
46
47/* end of file */
48
49
Box2.h
2D box class
Box3.h
3D box class
Color.h
Color classes [RGB565, RGB24, RGB32, RGB64, RGBf, HSV].
Fonts.h
Define the GFXFont anf ILI9341_t3 font format if needed.
Image.h
Main image class.
Mat4.h
4x4 matrix class.
Mesh3D.h
3D model mesh class.
Misc.h
Utility/miscellaneous functions used throughout the library.
Renderer3D.h
Class that manages a 3D scene.
Vec2.h
2D vector.
Vec3.h
3D vector.
Vec4.h
4D vector.