Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-libs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
劳工
zeroing-libs
Commits
33823dbd
Commit
33823dbd
authored
Aug 11, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6c1b291e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
p2demo.json
dist/customs/p2demo.json
+1
-1
main.js
src/custom/p2demo/debug/main.js
+1
-1
main.js.map
src/custom/p2demo/debug/main.js.map
+1
-1
No files found.
dist/customs/p2demo.json
View file @
33823dbd
This diff is collapsed.
Click to expand it.
src/custom/p2demo/debug/main.js
View file @
33823dbd
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
GameView
.
prototype
.
setup
=
function
()
{
GameView
.
prototype
.
setup
=
function
()
{
console
.
log
(
'setup'
);
console
.
log
(
'setup'
);
var
world
=
new
p2
.
World
({
var
world
=
new
p2
.
World
({
gravity
:
[
0
,
-
2
0
],
gravity
:
[
0
,
-
1
0
],
});
});
world
.
sleepMode
=
p2
.
World
.
BODY_SLEEPING
;
world
.
sleepMode
=
p2
.
World
.
BODY_SLEEPING
;
var
planeShape
=
new
p2
.
Plane
();
var
planeShape
=
new
p2
.
Plane
();
...
...
src/custom/p2demo/debug/main.js.map
View file @
33823dbd
This diff is collapsed.
Click to expand it.
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