Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
OpenGL
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
C-Fu
OpenGL
Commits
eb059237
Commit
eb059237
authored
Jan 20, 2017
by
C-Fu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added attributes to materials
parent
28d17b2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
QtMeshViewer/Header/FileInterface.h
QtMeshViewer/Header/FileInterface.h
+3
-1
No files found.
QtMeshViewer/Header/FileInterface.h
View file @
eb059237
...
...
@@ -45,7 +45,9 @@ struct Material {
QOpenGLTexture
*
texture
=
Q_NULLPTR
;
bool
transparent
=
false
;
float
shininess
=
80
;
//TODO: read from file
QVector3D
specularColor
=
{
1.0
,
1.0
,
1.0
};
//TODO: read from file
QVector4D
specularColor
=
{
1.0
,
1.0
,
1.0
,
1.0
};
//TODO: read from file, change to 4D
QVector4D
diffuseColor
;
QVector4D
ambientColor
;
};
class
FileInterface
:
public
QObject
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment