![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
#include <array>#include <glm/vec2.hpp>#include <glm/vec3.hpp>#include "galaxy/meta/Concepts.hpp"
Include dependency graph for Vertex.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | galaxy::Vertex |
| Represents a single vertex point. More... | |
Namespaces | |
| namespace | galaxy |
| Animated.cpp galaxy. | |
| namespace | galaxy::graphics |
Functions | |
| std::vector< Vertex > | galaxy::graphics::gen_quad_vertices (const float width, const float height, float depth) noexcept |
| Generate some default verticies. | |
| std::vector< unsigned int > | galaxy::graphics::gen_default_indices () noexcept |
| Generate some default indices. | |
| template<meta::is_arithmetic Type> | |
| float | galaxy::graphics::map_x_texel (const Type x, const float width) noexcept |
| Takes in a x positon texture coord and maps it to a texel. | |
| template<meta::is_arithmetic Type> | |
| float | galaxy::graphics::map_y_texel (const Type y, const float height) noexcept |
| Takes in a y positon texture coord and maps it to a texel. | |