GLVis
v4.2
Accurate and flexible finite element visualization
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
glvis
lib
material.hpp
Go to the documentation of this file.
1
// Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced
2
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3
// LICENSE and NOTICE for details. LLNL-CODE-443271.
4
//
5
// This file is part of the GLVis visualization tool and library. For more
6
// information and source code availability see https://glvis.org.
7
//
8
// GLVis is free software; you can redistribute it and/or modify it under the
9
// terms of the BSD-3 license. We welcome feedback and contributions, see file
10
// CONTRIBUTING.md for details.
11
12
#ifndef GLVIS_MATERIAL_HPP
13
#define GLVIS_MATERIAL_HPP
14
#include <array>
15
16
struct
Material
17
{
18
std::array<float, 4>
ambient
;
19
std::array<float, 4>
diffuse
;
20
std::array<float, 4>
specular
;
21
float
shininess
;
22
};
23
24
struct
Light
25
{
26
std::array<float, 4>
position
;
27
std::array<float, 4>
diffuse
;
28
std::array<float, 4>
specular
;
29
};
30
31
#endif
Material::shininess
float shininess
Definition:
material.hpp:21
Light::position
std::array< float, 4 > position
Definition:
material.hpp:26
Material::diffuse
std::array< float, 4 > diffuse
Definition:
material.hpp:19
Material::ambient
std::array< float, 4 > ambient
Definition:
material.hpp:18
Material::specular
std::array< float, 4 > specular
Definition:
material.hpp:20
Light::diffuse
std::array< float, 4 > diffuse
Definition:
material.hpp:27
Material
Definition:
material.hpp:16
Light
Definition:
material.hpp:24
Light::specular
std::array< float, 4 > specular
Definition:
material.hpp:28
Generated on Tue May 24 2022 09:49:54 for GLVis by
1.8.5