@nmscd/coordinate-conversion
Version:
Library to convert NMS coordinates
10 lines (8 loc) • 474 B
TypeScript
import { IConverterMethods } from '../../types/converter';
import { VoxelInput } from '../../types/voxelTypes';
/**
* A converter that takes a Voxel coordinate and returns functions to convert to other portal types.
* @param input should be of type {@link VoxelCoordinates| VoxelCoordinates}
* @returns functions defined in {@link IConverterMethods| IConverterMethods}
*/
export declare const VoxelCoordinate: (input: VoxelInput) => Omit<IConverterMethods, "toVoxel">;