neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
shapes.hpp File Reference

Go to the source code of this file.

Classes

struct  neogfx::unsupported_mesh_type
 

Namespaces

namespace  neogfx
 

Enumerations

enum class  neogfx::mesh_type { neogfx::TriangleFan , neogfx::Triangles , neogfx::Outline }
 

Functions

template<std::size_t VertexCount, typename CoordinateType , logical_coordinate_system CoordinateSystem>
void neogfx::calc_rect_vertices (vec3_array< VertexCount > &aResult, const basic_rect< CoordinateType, CoordinateSystem > &aRect, mesh_type aType, const optional_mat44 &aTransformation={})
 
template<typename CoordinateType , logical_coordinate_system CoordinateSystem>
vec3_array< 8 > const & neogfx::rect_vertices (const basic_rect< CoordinateType, CoordinateSystem > &aRect, mesh_type aType, const optional_mat44 &aTransformation={})
 
vertices neogfx::arc_vertices (const point &aCenter, dimension aRadius, angle aStartAngle, angle aEndAngle, const point &aOrigin, mesh_type aType, uint32_t aArcSegments=0)
 
vertices neogfx::circle_vertices (const point &aCenter, dimension aRadius, angle aStartAngle, mesh_type aType, uint32_t aArcSegments=0)
 
vertices neogfx::rounded_rect_vertices (const rect &aRect, dimension aRadius, mesh_type aType, uint32_t aArcSegments=0)