candlewick 0.1.0
A renderer
Loading...
Searching...
No Matches
Arrow.h
Go to the documentation of this file.
1#pragma once
2
3#include "../utils/MeshData.h"
4
5namespace candlewick {
6
9MeshData loadArrowSolid(bool include_normals = false, float shaft_length = 0.4f,
10 float shaft_radius = 0.01f, float head_length = 0.1f,
11 float head_radius = 0.02f, Uint32 segments = 32);
12
15std::array<MeshData, 3> loadTriadSolid(float shaft_length = 0.4f,
16 float shaft_radius = 0.01f,
17 float head_length = 0.1f,
18 float head_radius = 0.02f,
19 Uint32 segments = 32);
20
21} // namespace candlewick
A class to store type-erased vertex data and index data.
Definition MeshData.h:33
MeshData loadArrowSolid(bool include_normals=false, float shaft_length=0.4f, float shaft_radius=0.01f, float head_length=0.1f, float head_radius=0.02f, Uint32 segments=32)
Load a solid 3D arrow.
std::array< MeshData, 3 > loadTriadSolid(float shaft_length=0.4f, float shaft_radius=0.01f, float head_length=0.1f, float head_radius=0.02f, Uint32 segments=32)
Create a 3D triad.
Definition Camera.h:8