mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
28 lines
514 B
TypeScript
28 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;
|
|
|
|
}
|
|
|
|
}
|