YourGameLib
Loading...
Searching...
No Matches
Public Member Functions | List of all members
yourgame::gl::Lightsource Class Reference

#include <lightsource.h>

Public Member Functions

std::array< float, 12 > data ()
 
std::array< float, 3 > ambient ()
 
std::array< float, 3 > diffuse ()
 
std::array< float, 3 > specular ()
 
std::array< float, 3 > position ()
 
void setAmbient (std::array< float, 3 > col)
 
void setDiffuse (std::array< float, 3 > col)
 
void setSpecular (std::array< float, 3 > col)
 
void setPosition (std::array< float, 3 > pos)
 

Member Function Documentation

◆ ambient()

std::array< float, 3 > yourgame::gl::Lightsource::ambient ( )

◆ data()

std::array< float, 12 > yourgame::gl::Lightsource::data ( )

◆ diffuse()

std::array< float, 3 > yourgame::gl::Lightsource::diffuse ( )

◆ position()

std::array< float, 3 > yourgame::gl::Lightsource::position ( )

◆ setAmbient()

void yourgame::gl::Lightsource::setAmbient ( std::array< float, 3 >  col)

◆ setDiffuse()

void yourgame::gl::Lightsource::setDiffuse ( std::array< float, 3 >  col)

◆ setPosition()

void yourgame::gl::Lightsource::setPosition ( std::array< float, 3 >  pos)

◆ setSpecular()

void yourgame::gl::Lightsource::setSpecular ( std::array< float, 3 >  col)

◆ specular()

std::array< float, 3 > yourgame::gl::Lightsource::specular ( )

The documentation for this class was generated from the following files: