molstar
Version:
A comprehensive macromolecular library.
13 lines (12 loc) • 463 B
TypeScript
/**
* Copyright (c) 2024 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*
* This code has been modified from https://github.com/mrdoob/three.js/,
* copyright (c) 2010-2024 three.js authors. MIT License
*/
/** float32 to float16 */
export declare function toHalfFloat(val: number): number;
/** float16 to float32 */
export declare function fromHalfFloat(val: number): number;