Home Reference Source Repository

Function

Static Public Summary
public

Finds the complement of the axis.

public

Returns the dimension along the supplied axis.

Static Public

public complement(Axis: string): string source

import {complement} from 'webgame-lib/src/geom.js'

Finds the complement of the axis.

Params:

NameTypeAttributeDescription
Axis string

Return:

string

Complement

public dimension(Axis: string): string source

import {dimension} from 'webgame-lib/src/geom.js'

Returns the dimension along the supplied axis.

Params:

NameTypeAttributeDescription
Axis string

Return:

string

Dimension