Walls And Holes  1
M2M::PhongInfo Struct Reference

Class to wrap Phong reflection info. More...

#include <m2mpartialmesh.h>

Public Member Functions

 PhongInfo (const TileMaterial *material)
 
bool operator== (const PhongInfo &other) const
 
bool operator!= (const PhongInfo &other) const
 

Public Attributes

float ambient
 
float diffuse
 
float specular
 
float shininess
 

Detailed Description

Class to wrap Phong reflection info.

Constructor & Destructor Documentation

◆ PhongInfo()

M2M::PhongInfo::PhongInfo ( const TileMaterial material)
inline

Member Function Documentation

◆ operator!=()

bool M2M::PhongInfo::operator!= ( const PhongInfo other) const
inline

◆ operator==()

bool M2M::PhongInfo::operator== ( const PhongInfo other) const
inline

Member Data Documentation

◆ ambient

float M2M::PhongInfo::ambient

◆ diffuse

float M2M::PhongInfo::diffuse

◆ shininess

float M2M::PhongInfo::shininess

◆ specular

float M2M::PhongInfo::specular

The documentation for this struct was generated from the following file: