Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glow-samples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Glow
glow-samples
Commits
48648926
Commit
48648926
authored
5 years ago
by
Jonathan Kunstwald
Browse files
Options
Downloads
Patches
Plain Diff
Update
parent
2e16a88a
Branches
pt/new-viewer-renderer
No related tags found
No related merge requests found
Pipeline
#11102
passed
5 years ago
Stage: Build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
extern/glow-extras
+1
-1
1 addition, 1 deletion
extern/glow-extras
samples/wip/viewer/main.cc
+1
-1
1 addition, 1 deletion
samples/wip/viewer/main.cc
with
2 additions
and
2 deletions
glow-extras
@
4caddf99
Subproject commit
85dc9ed192841de8a43188d9f3c24e9a8b5500a3
Subproject commit
4caddf992e1f5a36e9fb9dedef44bb94979b78fe
This diff is collapsed.
Click to expand it.
samples/wip/viewer/main.cc
+
1
−
1
View file @
48648926
...
...
@@ -94,7 +94,7 @@ int main()
v
.
view
(
polygons
(
pos
).
move
({
+
1.5
f
,
0
,
0
}),
glow
::
colors
::
color
(
0
,
0
,
1
));
// or:
//
v.view(pos, tg::scaling(tg::size3{0.5f, 1, 1.5f}), glow::colors::color(0, 1, 0));
v
.
view
(
pos
,
tg
::
scaling
(
tg
::
size3
{
0.5
f
,
1
,
1.5
f
}),
glow
::
colors
::
color
(
0
,
1
,
0
));
}
// Complex material
...
...
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