/*! * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ import { vec2, vec3 } from "gl-matrix"; import { HexOrientation } from "../main.js"; export declare class HexHelper { private static _vec3; static width(size: number, orientation: HexOrientation): number; static height(size: number, orientation: HexOrientation): number; static pointyHexCorner(center: vec2, size: number, i: number, position: vec2): void; static cubeToAxial(cube: vec3, hex: vec2): void; static axialToCube(hex: vec2, cube: vec3): void; static cubeToOddr(cube: vec3, hex: vec2): void; static oddrToCube(hex: vec2, cube: vec3): void; static pointyHexToPixel(hex: vec2, size: number, point: vec2): void; static pixelToPointyHex(point: vec2, size: number, hex: vec2): void; static hexRound(hex: vec2, hexRound: vec2): void; static cubeRound(cube: vec3, cubeRound: vec3): void; }