Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
curvedflats
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Flatland
curvedflats
Commits
444de0b9
Commit
444de0b9
authored
Jun 25, 2019
by
18김민수
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor Change
parent
4c4b135d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
Constants.cs
Assets/Scripts/Constants.cs
+12
-0
Constants.cs.meta
Assets/Scripts/Constants.cs.meta
+11
-0
No files found.
Assets/Scripts/Constants.cs
0 → 100644
View file @
444de0b9
using
System.Collections
;
using
System.Collections.Generic
;
using
UnityEngine
;
public
static
class
Constants
{
public
static
double
C
=>
40
;
// speed of light.
public
static
double
Gamma
(
double
v
)
{
return
1
/
Mathf
.
Sqrt
((
1
-
(
float
)((
v
/
C
)
*
(
v
/
C
))));
}
}
Assets/Scripts/Constants.cs.meta
0 → 100644
View file @
444de0b9
fileFormatVersion: 2
guid: 61e61770430ce5a4faeca2e20cfa58b1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment