UNPKG

seed-engine

Version:

A Lightweight 2D game engine using WebGL2. The engine is designed on the focus of creating a bridge between creating and publishing games to the Seed Network as modules.

18 lines (11 loc) 262 B
/** * Baseclass for a Matrix. Use Matrix3 or Matrix4 for 2D and 3D matrix math. */ export default class Matrix { setPosition(x, y) {} setScale(scaleX, scaleY) {} setRotation(rotationDegree) {} copy() {} add(m) {} multiply(m) {} }