Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCG3_CMAKE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tim Meyran
SCG3_CMAKE
Commits
970fbf5d
Commit
970fbf5d
authored
6 years ago
by
Tim
Browse files
Options
Downloads
Patches
Plain Diff
Kommentare
parent
bda6261d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
extern/glew/glew.pc
+3
-3
3 additions, 3 deletions
extern/glew/glew.pc
src/Camera.cpp
+1
-1
1 addition, 1 deletion
src/Camera.cpp
with
4 additions
and
4 deletions
extern/glew/glew.pc
+
3
−
3
View file @
970fbf5d
prefix=
/usr/local
prefix=
C:/Program Files (x86)/Dosenwerfen
exec_prefix=${prefix}
libdir=
/usr/local
/lib
64
libdir=
C:/Program Files (x86)/Dosenwerfen
/lib
includedir=${prefix}/include
Name: glew
Description: The OpenGL Extension Wrangler library
Version: 2.1.0
Cflags: -I${includedir}
Libs: -L${libdir} -l
GLEW
Libs: -L${libdir} -l
glew32
Requires: glu
This diff is collapsed.
Click to expand it.
src/Camera.cpp
+
1
−
1
View file @
970fbf5d
...
...
@@ -128,7 +128,7 @@ Camera* Camera::scale(glm::vec3 scaling) {
Camera
*
Camera
::
dolly
(
GLfloat
distance
)
{
centerDist_
=
std
::
max
(
0.f
,
centerDist_
-
distance
);
centerDist_
=
std
::
f
max
(
0.f
,
centerDist_
-
distance
);
eyePt_
=
centerPt_
-
centerDist_
*
viewDir_
;
update_
();
return
this
;
...
...
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