Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
f367dce7
Commit
f367dce7
authored
Nov 27, 2022
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rerange small
parent
50f95383
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/ui/Duel/simpleDuel/deck.ts
src/ui/Duel/simpleDuel/deck.ts
+2
-2
src/ui/Duel/simpleDuel/magics.ts
src/ui/Duel/simpleDuel/magics.ts
+1
-1
No files found.
src/ui/Duel/simpleDuel/deck.ts
View file @
f367dce7
...
@@ -12,7 +12,7 @@ export default (scene: BABYLON.Scene) => {
...
@@ -12,7 +12,7 @@ export default (scene: BABYLON.Scene) => {
deck
.
position
=
new
BABYLON
.
Vector3
(
deck
.
position
=
new
BABYLON
.
Vector3
(
3.2
,
3.2
,
CONFIG
.
DeckSlotShape
().
depth
/
2
+
CONFIG
.
Floating
,
CONFIG
.
DeckSlotShape
().
depth
/
2
+
CONFIG
.
Floating
,
-
3.
2
-
3.
3
);
);
// 旋转
// 旋转
deck
.
rotation
=
CONFIG
.
DeckSlotRotation
();
deck
.
rotation
=
CONFIG
.
DeckSlotRotation
();
...
@@ -32,7 +32,7 @@ export default (scene: BABYLON.Scene) => {
...
@@ -32,7 +32,7 @@ export default (scene: BABYLON.Scene) => {
extraDeck
.
position
=
new
BABYLON
.
Vector3
(
extraDeck
.
position
=
new
BABYLON
.
Vector3
(
-
3.3
,
-
3.3
,
CONFIG
.
ExtraDeckSlotShape
().
depth
/
2
+
CONFIG
.
Floating
,
CONFIG
.
ExtraDeckSlotShape
().
depth
/
2
+
CONFIG
.
Floating
,
-
3.
2
-
3.
3
);
);
// 旋转
// 旋转
extraDeck
.
rotation
=
CONFIG
.
DeckSlotRotation
();
extraDeck
.
rotation
=
CONFIG
.
DeckSlotRotation
();
...
...
src/ui/Duel/simpleDuel/magics.ts
View file @
f367dce7
...
@@ -12,7 +12,7 @@ export default (scene: BABYLON.Scene) => {
...
@@ -12,7 +12,7 @@ export default (scene: BABYLON.Scene) => {
slot
.
position
=
new
BABYLON
.
Vector3
(
slot
.
position
=
new
BABYLON
.
Vector3
(
left
+
gap
*
i
,
left
+
gap
*
i
,
shape
.
depth
/
2
+
CONFIG
.
Floating
,
shape
.
depth
/
2
+
CONFIG
.
Floating
,
-
2.
5
-
2.
6
);
);
// 旋转
// 旋转
slot
.
rotation
=
CONFIG
.
CardSlotRotation
();
slot
.
rotation
=
CONFIG
.
CardSlotRotation
();
...
...
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