Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TSBK03 Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabian Johansson
TSBK03 Project
Commits
657d0a19
Commit
657d0a19
authored
5 months ago
by
Dethcrvsh
Browse files
Options
Downloads
Patches
Plain Diff
tweaked wave parameters
parent
d31bbd20
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
src/surface.h
+4
-4
4 additions, 4 deletions
src/surface.h
with
4 additions
and
4 deletions
src/surface.h
+
4
−
4
View file @
657d0a19
...
...
@@ -15,10 +15,10 @@ private:
static
GLuint
const
BINDING_POINT
{
1
};
char
const
*
UNIFORM_BLOCK
=
"WaveBuffer"
;
static
int
const
MAX_WAVES
{
16
};
static
constexpr
float
const
MEDIAN_WAVELENGTH
{
2.6
};
static
constexpr
float
const
MEDIAN_AMPLITUDE
{
0.00
6
};
static
constexpr
float
const
MEDIAN_SPEED
{
0.
6
};
static
constexpr
float
const
MEDIAN_DIR
{
3.14
/
4
.0
};
static
constexpr
float
const
MEDIAN_WAVELENGTH
{
1.0
};
static
constexpr
float
const
MEDIAN_AMPLITUDE
{
0.00
3
};
static
constexpr
float
const
MEDIAN_SPEED
{
0.
2
};
static
constexpr
float
const
MEDIAN_DIR
{
3.14
/
2
.0
};
struct
Wave
{
GLfloat
L
;
// Wavelength (distance between waves in world space)
...
...
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