export function sys_camera2d(game: Game, delta: number) {
game.Cameras = [];
for (let ent = 0; ent < game.World.Signature.length; ent++) {
if ((game.World.Signature[ent] & QUERY) === QUERY) {
let camera = game.World.Camera2D[ent];
let camera_node = game.World.SpatialNode2D[ent];
mat2d_multiply(camera.Pv, camera.Projection.Projection, camera_node.Self);
mat2d_copy(camera.World, camera_node.World);
game.Cameras.push(ent);
}
}
}