Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine.
GitHub | Vesper Updates | Creator
Loading...
Searching...
No Matches
Color.h File Reference

Provides commonly used colors and color manipulation functions. More...

#include <glm/glm.hpp>

Go to the source code of this file.

Namespaces

namespace  Vesper
 TEMPORARY.
namespace  Vesper::Color
 Provides commonly used colors and color manipulation functions.

Functions

static glm::vec4 Vesper::Color::White ()
 Returns a vec4 representing the color white.
static glm::vec4 Vesper::Color::Black ()
 Returns a vec4 representing the color black.
static glm::vec4 Vesper::Color::Gray ()
 Returns a vec4 representing the color gray.
static glm::vec4 Vesper::Color::Red ()
 Returns a vec4 representing the color red.
static glm::vec4 Vesper::Color::Orange ()
 Returns a vec4 representing the color orange.
static glm::vec4 Vesper::Color::Yellow ()
 Returns a vec4 representing the color yellow.
static glm::vec4 Vesper::Color::Green ()
 Returns a vec4 representing the color green.
static glm::vec4 Vesper::Color::Blue ()
 Returns a vec4 representing the color blue.
static glm::vec4 Vesper::Color::Indigo ()
 Returns a vec4 representing the color indigo.
static glm::vec4 Vesper::Color::Purple ()
 Returns a vec4 representing the color purple.
static glm::vec4 Vesper::Color::Cyan ()
 Returns a vec4 representing the color cyan.
static glm::vec4 Vesper::Color::Magenta ()
 Returns a vec4 representing the color magenta.
static glm::vec4 Vesper::Color::Pink ()
 Returns a vec4 representing the color pink.
static glm::vec4 Vesper::Color::Brown ()
 Returns a vec4 representing the color brown.
static glm::vec4 Vesper::Color::Transparent ()
 Returns a vec4 representing a fully transparent color.
static glm::vec4 Vesper::Color::StripAlpha (const glm::vec4 &color)
 Strips the alpha component from the given color, setting it to 1.0 (fully opaque).
static glm::vec4 Vesper::Color::SetAlpha (const glm::vec4 &color, float alpha=0.0f)
 Sets the alpha component of the given color to the specified value.

Detailed Description

Provides commonly used colors and color manipulation functions.

Author
Damon S. Green II