Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions dist/jam.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/webgl/GlView.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function GLView ({drivers, props$}) {
let controls = makeControls(config.controls[0]) // create 'orbit' controls
let transformControls = new TransformControls(camera)

let grid = new LabeledGrid(200, 200, 10, config.cameras[0].up)
let grid = new LabeledGrid(215, 215, 10, config.cameras[0].up)
let shadowPlane = new ShadowPlane(2000, 2000, null, config.cameras[0].up)

const actions = intent({DOM, events: drivers.events}, {camera, scene, transformControls, props$, settings$})
Expand Down
2 changes: 1 addition & 1 deletion src/components/webgl/deps/OrbitControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ var OrbitControls = function ( object, domElement, upVector ) {
//fireDeActivated()
}

camState.thetaDelta /= 1.5
camState.thetaDelta /= 1.9
camState.phiDelta /= 1.5
camState.scale = 1
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/webgl/presets.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const presets = {
controls: [
{
up: [0, 0, 1],
rotateSpeed: 2.0,
rotateSpeed: 0.7,
panSpeed: 2.0,
zoomSpeed: 2.0,
autoRotate: {
Expand Down
2 changes: 1 addition & 1 deletion src/interactions/pointers.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export function pointerInteractions (baseInteractions) {
// drag move interactions (continuously firing)
const dragMoves$ = merge(
drags3(mouseDowns$, mouseUps$, mouseMoves$, longPressDelay, deltaSqr),
touchDrags(touchStart$, touchEnd$, touchMoves$)
touchDrags(touchStart$, touchEnd$, touchMoves$).throttle(40).tap(e=>console.log('foo'))
)
.takeUntil(longTaps$).repeat() // no drag moves if there is a context action already taking place

Expand Down