Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
46ecb37
WIP: Replaced script camera controls with new version
kpal81xd Mar 6, 2025
279ad5a
Updated eslint
kpal81xd Mar 6, 2025
6de144f
Removed scripts from rollup.config.js
kpal81xd Mar 6, 2025
f433c3c
Fixed types for camera controls
kpal81xd Mar 6, 2025
2ba2480
Fixed focusing
kpal81xd Mar 6, 2025
d50dc78
Fixed wheel and ctor for camera controls
kpal81xd Mar 6, 2025
e6a208a
Moved camera controls into model viewer src
kpal81xd Mar 6, 2025
936b63a
Removed unnecessary input types from camera controls
kpal81xd Mar 6, 2025
aa6e91a
Removed reset method
kpal81xd Mar 6, 2025
847ee16
Cleaned up focusing
kpal81xd Mar 6, 2025
aef85e1
refactor
kpal81xd Mar 6, 2025
81a5d37
Folded double if statement
kpal81xd Mar 7, 2025
43f8120
Renamed model to controller
kpal81xd Mar 10, 2025
8cf4d67
Refactored camera controls to allow for multiple inputs to be used at…
kpal81xd Mar 10, 2025
6a93e74
Fixed pointer type restrictions
kpal81xd Mar 10, 2025
d2427d7
size fix
kpal81xd Mar 10, 2025
0253135
Cleaned up mode switch in camera controls
kpal81xd Mar 10, 2025
ae997ff
Set zoomScaleMin when camera clipping planes changed
kpal81xd Mar 10, 2025
cb3021c
Fixed button management in keyboard and mouse input
kpal81xd Mar 10, 2025
d213ad5
Fixed zooming min distance
kpal81xd Mar 10, 2025
8b7868e
Removed view and updated point to be target
kpal81xd Mar 10, 2025
a8df72c
Fixed zoom max distance
kpal81xd Mar 10, 2025
f43ad6f
Removed babel parser
kpal81xd Mar 10, 2025
8773917
Reverted point and view
kpal81xd Mar 10, 2025
e07a450
Fixed angle lerping
kpal81xd Mar 11, 2025
ece53f5
Updated key string to key code
kpal81xd Mar 11, 2025
3fb7fe4
Added space key to keyboard input
kpal81xd Mar 12, 2025
befd4bf
Merge branch 'main' into camera-controls
kpal81xd Jun 24, 2025
4519efc
Replaced old camera controls with new one
kpal81xd Jun 24, 2025
e0fefd7
Removed unused code from camera controls
kpal81xd Jun 24, 2025
d3bdf97
Added back reset key
kpal81xd Jun 24, 2025
972779f
Fix missing newline at end of file in camera-controls.ts
kpal81xd Jun 24, 2025
041ecbb
Minor reorder
kpal81xd Jun 24, 2025
17ce1c8
Fixed camera controls start position
kpal81xd Jun 26, 2025
241c143
Reduced smoothing to match old camera controls
kpal81xd Jun 26, 2025
f175d90
Update playcanvas dependency to version 2.9.0-beta.1
kpal81xd Jun 26, 2025
d82fccd
LInt fix
kpal81xd Jun 30, 2025
d7bf22a
Update playcanvas dependency to version 2.10.3
kpal81xd Aug 4, 2025
34c61f4
feat: updated control scheme to dynamically switch fly and orbit
kpal81xd Aug 4, 2025
3ab5cc8
fix: removed focus controller (not used) and pose reset (no change)
kpal81xd Aug 4, 2025
83fa987
chore: update playcanvas dependency to version 2.10.5
kpal81xd Aug 8, 2025
1aa2037
fix: removed touch sensitivity affecting panning on mobile
kpal81xd Aug 8, 2025
c6edcf7
feat: integrate observer for dynamic camera mode switching
kpal81xd Aug 8, 2025
6e055ff
feat: add camera mode buttons with icons for fly and orbit modes
kpal81xd Aug 8, 2025
70f0dbe
fix: restyled elements
kpal81xd Aug 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,17 @@ export default [
...tsPlugin.configs['recommended'].rules,
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off'
'@typescript-eslint/no-unused-vars': 'off',
'jsdoc/require-param-type': 'off',
'jsdoc/require-returns-type': 'off',
}
},
{
files: ['**/*.js', '**/*.mjs'],
languageOptions: {
globals: {
...globals.browser
}
}
}
];
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"eslint": "^9.29.0",
"eslint-import-resolver-typescript": "^4.4.3",
"globals": "^16.2.0",
"playcanvas": "^2.8.2",
"playcanvas": "2.10.5",
"qrious": "^4.0.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
1 change: 0 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export default {
image({ dom: true }),
alias({
entries: {
'playcanvas/scripts': path.resolve(ENGINE_DIR, 'scripts'),
'playcanvas': ENGINE_PATH,
'@playcanvas/pcui': PCUI_DIR
}
Expand Down
Loading