Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RBComb Sample Visualizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pascal Engeler
RBComb Sample Visualizer
Commits
23d3e8d2
Commit
23d3e8d2
authored
1 year ago
by
Pascal Engeler
Browse files
Options
Downloads
Patches
Plain Diff
Added material usage in constructor
parent
ea4932cb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gui/include/layer.hpp
+2
-1
2 additions, 1 deletion
gui/include/layer.hpp
with
2 additions
and
1 deletion
gui/include/layer.hpp
+
2
−
1
View file @
23d3e8d2
...
...
@@ -7,6 +7,7 @@
#include
<map>
#include
<shader.hpp>
#include
<framebuffer.hpp>
#include
<material.hpp>
struct
ObjectMetadata
;
...
...
@@ -21,7 +22,7 @@ struct VertexData{
class
Layer
{
public:
Layer
(
std
::
string
name
,
std
::
string
filename
,
float
zOffset
);
Layer
(
std
::
string
name
,
std
::
string
filename
,
float
zOffset
,
Material
mat
);
void
draw
(
glm
::
mat4
projection
,
glm
::
mat4
view
,
glm
::
mat4
model
,
int
drawing_mode
,
int
selected_index
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment