Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
10a3e3fe
Commit
10a3e3fe
authored
6 years ago
by
Marco Z
Browse files
Options
Downloads
Patches
Plain Diff
Define EPSILONs only if not already defined
Fixes OSX buildbot
parent
c65f44e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!488
Merge in next and don't billboard papersprites in GL
,
!428
Fix float comparison for colormap maskamt
,
!402
Update code versions to 2.1.22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doomdef.h
+5
-0
5 additions, 0 deletions
src/doomdef.h
with
5 additions
and
0 deletions
src/doomdef.h
+
5
−
0
View file @
10a3e3fe
...
...
@@ -411,8 +411,13 @@ INT32 I_GetKey(void);
#endif
// Floating point comparison epsilons from float.h
#ifndef FLT_EPSILON
#define FLT_EPSILON 1.1920928955078125e-7f
#endif
#ifndef DBL_EPSILON
#define DBL_EPSILON 2.2204460492503131e-16
#endif
// An assert-type mechanism.
#ifdef PARANOIA
...
...
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