mirror of
https://github.com/wassname/phaser.git
synced 2026-07-02 17:00:42 +08:00
29 lines
514 B
TypeScript
29 lines
514 B
TypeScript
/// <reference path="../math/Vec2.ts" />
|
|
/// <reference path="../math/Vec2Utils.ts" />
|
|
/// <reference path="AdvancedPhysics.ts" />
|
|
/// <reference path="Body.ts" />
|
|
|
|
/**
|
|
* Phaser - Advanced Physics - Plane
|
|
*
|
|
* Based on the work Ju Hyung Lee started in JS PhyRus.
|
|
*/
|
|
|
|
module Phaser.Physics {
|
|
|
|
export class Plane {
|
|
|
|
constructor(normal: Phaser.Vec2, d: number) {
|
|
|
|
this.normal = normal;
|
|
this.d = d;
|
|
|
|
}
|
|
|
|
public normal: Phaser.Vec2;
|
|
public d: number;
|
|
|
|
}
|
|
|
|
}
|