enum hiro::draw::GeometryName — HIRO 0.7.0 documentation

# enum hiro::draw::GeometryName

## Overview

List of available names for geometry objects generated by hiro::draw::PrimitiveDatabase. More…

    #include <PrimitiveDatabase.h>

    enum GeometryName {
        cube,
        sphere_s0,
        sphere_s1,
        sphere_s2,
        octahedron,
        camera,
        plane_x,
        plane_y,
        plane_z,
        _count,
    };

## Detailed Documentation

List of available names for geometry objects generated by hiro::draw::PrimitiveDatabase.

### Enum Values

    cube

Standard cube with unit side length.

    sphere_s0

Icosahedron with unit radius.

    sphere_s1

Icosahedron with unit radius subdivided.

    sphere_s2

Icosahedron with unit radius subdivided twice.

    octahedron

Anisotropic thin octahedron laying on x-axis <0,1>.

    camera

Camera mesh aligned with view space looking to negative z.

    plane_x

Unit sized plane perpendicular to x-axis.

    plane_y

Unit sized plane perpendicular to y-axis.

    plane_z

Unit sized plane perpendicular to z-axis.

    _count

Number of available names.