Skip to content

library methods

Vaughn Auten edited this page Aug 12, 2023 · 4 revisions

outlined here are some basic functions defined in the lib header


indexInTemplate

template <int N, typename... Ts>
 using indexInTemplate = typename std::tuple_element<N, std::tuple<Ts...>>::type;

packSize

packSize
template <typename... T>
    constexpr size_t packSize()

contains

template <typename T, typename... Ts>
    constexpr bool contains()

checkForGLErrors

void checkForGLErrors(const char *file, int line);

makeVertexArr

std::vector<aml::Vert3> makeVertexArr(std::vector<glm::vec3> &posArray, std::vector<glm::vec3> &colorArray);

stopAml

void stopAml();

makeGLWindow

GLFWwindow *makeGLWindow(size_t width, size_t height, const char *name);

systemTime

double systemTime();

Clone this wiki locally