UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

19 lines (16 loc) 410 B
import Vector2 from "../../../../core/geom/Vector2.js"; import AABB2 from "../../../../core/geom/AABB2.js"; export class UvContext { constructor() { /** * Resolution of texture * @type {Vector2} */ this.resolution = new Vector2(1, 1); /** * * @type {AABB2} */ this.atlas_patch = new AABB2(); } }