Skip to content

KBE3D / KBCore / Cesium / Math / greaterThan

函数: greaterThan()

greaterThan(left: number, right: number, absoluteEpsilon: number): boolean

Determines if the left value is greater the right value. If the two values are within <code>absoluteEpsilon</code> of each other, they are considered equal and this function returns false.

参数

left

number

The first number to compare.

number

The second number to compare.

absoluteEpsilon

number

The absolute epsilon to use in comparison.

返回

boolean

true if left is greater than right by more than absoluteEpsilon. false if left is less or if the two values are nearly equal.

KBE3D @3.0.0 Copyright © 2024-present KBE3D