touchcontroller
Advanced tools
Comparing version 3.5.0 to 3.6.0
@@ -18,2 +18,3 @@ import { MultitouchControllerDebugLayer } from './debug/MultiTouchControllerDebugLayer'; | ||
import { multitouchTransforms } from './multitouch/multitouchTransforms/multitouchTransforms'; | ||
import { multitouchTransformsOnElement } from './multitouch/multitouchTransforms/multitouchTransformsOnElement'; | ||
import { Touch } from './touch/Touch'; | ||
@@ -30,2 +31,2 @@ import { TouchController } from './touch/TouchController'; | ||
import { padArray } from './utils/padArray'; | ||
export { sign, Touch, Scene, IEvent, average, padArray, IElement, Particle, IListener, Awaitable, TouchFrame, Multitouch, SourceCache, EventManager, emulateTouch, VectorAverage, TAverageItems, TouchListener, MouseListener, DrawController, CanvasRectangle, TouchController, ITouchController, IParticleOptions, IElementListeners, createImageFromSrc, createCanvasFromSrc, multitouchTransforms, MultitouchController, IEmulateTouchOptions, particleOptionsAverage, IParticleOptionsExternals, TouchControllerDebugLayer, createColoredCanvasFromSrc, IEmulateTouchOptionsAdvanced, getBoundingClientRectEnhanced, MultitouchControllerDebugLayer }; | ||
export { sign, Touch, Scene, IEvent, average, padArray, IElement, Particle, IListener, Awaitable, TouchFrame, Multitouch, SourceCache, EventManager, emulateTouch, VectorAverage, TAverageItems, TouchListener, MouseListener, DrawController, CanvasRectangle, TouchController, ITouchController, IParticleOptions, IElementListeners, createImageFromSrc, createCanvasFromSrc, multitouchTransforms, MultitouchController, IEmulateTouchOptions, particleOptionsAverage, IParticleOptionsExternals, TouchControllerDebugLayer, createColoredCanvasFromSrc, IEmulateTouchOptionsAdvanced, getBoundingClientRectEnhanced, multitouchTransformsOnElement, MultitouchControllerDebugLayer }; |
import { Observable } from 'rxjs/internal/Observable'; | ||
import { Subject } from 'rxjs/internal/Subject'; | ||
import { BoundingBox } from 'xyzt'; | ||
import { Touch } from '../touch/Touch'; | ||
export declare class Multitouch<TElement extends BoundingBox> { | ||
export declare class Multitouch<TElement> { | ||
element?: TElement | undefined; | ||
@@ -7,0 +6,0 @@ readonly id: number; |
import { Observable } from 'rxjs/internal/Observable'; | ||
import { BoundingBox, Transform } from 'xyzt'; | ||
import { BoundingBox, Transform, Vector } from 'xyzt'; | ||
import { Multitouch } from '../Multitouch'; | ||
export declare function multitouchTransforms<TElement extends BoundingBox>(multitouch: Multitouch<TElement>): Observable<Transform>; | ||
export declare function multitouchTransforms(multitouch: Multitouch<BoundingBox>, elementCenter: () => Vector): Observable<Transform>; |
import { Observable } from 'rxjs/internal/Observable'; | ||
import { BoundingBox, Transform } from 'xyzt'; | ||
import { Transform, Vector } from 'xyzt'; | ||
import { Touch } from '../../main'; | ||
export declare function _twoFingerring(element: BoundingBox, touch1: Touch, touch2: Touch): Observable<Transform>; | ||
export declare function _twoFingerring(elementCenter: () => Vector, touch1: Touch, touch2: Touch): Observable<Transform>; |
{ | ||
"name": "touchcontroller", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"author": "Pavol Hejný <me@pavolhejny.com> (https://pavolhejny.com)", | ||
@@ -5,0 +5,0 @@ "description": "Touch and mouse controller for web apps and games", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1275809
44
6129