Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • class Geo GeoArray_Stl
  • class Geo GeoAutoArrayPtr
  • class Geo GeoAutoDeleteArray
  • class Geo GeoAutoDeleteList
  • class Geo GeoAutoDeleteMap
  • class Geo GeoAutoPtr
  • class Geo GeoAutoReleaseArray
  • class Geo GeoAutoReleaseMap
  • class Geo GeoAutoReleasePtr
  • class Geo GeoBitArray
  • class Geo GeoBitStore
  • class Geo GeoBlueNoise
  • class Geo GeoBlueNoiseDiskPalette
  • class Geo GeoBlueNoiseRayPalette
  • class Geo GeoBoundingBox
  • class Geo GeoBoundingSphere
  • class Geo GeoBufferedFileStream
  • class Geo GeoBufferedInputStream
  • class Geo GeoCriticalSection
  • class Geo GeoDebugAllocator
  • class Geo GeoDelegateDestructor
  • class Geo GeoDeleteArrayDestructor
  • class Geo GeoDeleteDestructor
  • class Geo GeoDepthCubeMap
  • class Geo GeoEmbreeContext
  • class Geo GeoEqualCString
  • class Geo GeoEvent
  • class Geo GeoFileManager
  • class Geo GeoFileStream
  • class Geo GeoFixedBinarySearchMap
  • class Geo GeoFixedBinarySearchMapCompare
  • class Geo GeoFixedPoolAllocator
  • class Geo GeoFixedString
  • class Geo GeoFlattenAndPackResults
  • class Geo GeoFp16Texture
  • class Geo GeoFpControl
  • class Geo GeoFrameTime
  • class Geo GeoFreeDestructor
  • class Geo GeoGenericTexture
  • class Geo GeoGuid
  • class Geo GeoHalf
  • class Geo GeoHashConstHandle
  • class Geo GeoHashCString
  • class Geo GeoHashDefault
  • class Geo GeoHashHandle
  • class Geo GeoHashMap
  • class Geo GeoHashString
  • class Geo GeoImmutableArray
  • class Geo GeoInputEvent
  • class Geo GeoInstanceCount
  • class Geo GeoIntRange
  • class Geo GeoIntrusivePtr
  • class Geo GeoKeyValueArray
  • class Geo GeoLineSegment
  • class Geo GeoList
  • class Geo GeoMap
  • class Geo GeoMemoryDefault
  • class Geo GeoMemoryPool
  • class Geo GeoMemoryStream
  • class Geo GeoNonAABoundingBox
  • class Geo GeoNoopDestructor
  • class Geo GeoPair
  • class Geo GeoParametrisedPlane3
  • class Geo GeoPriorityQueue
  • class Geo GeoProgress
  • class Geo GeoQueue
  • class Geo GeoQueueEnumInterface
  • class Geo GeoRefArrayPtr
  • class Geo GeoRefCount
  • class Geo GeoRefPtr
  • class Geo GeoRefReleasePtr
  • class Geo GeoReleaseDestructor
  • class Geo GeoRGBXTexture
  • class Geo GeoScopedCSection
  • class Geo GeoSingleton
  • class Geo GeoSpatialHash
  • class Geo GeoString
  • class Geo GeoTimer
  • class Geo GeoTokenList
  • class Geo GeoTokenStream
  • class Geo GeoTriangle
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Geo GeoHalf

    This is the documentation for Enlighten.

    class Geo GeoHalf

    Nov 21, 2019

    class Geo::GeoHalf

    Convenience value type for a half float.

    All maths is done in floats and converted back to half float after. This can introduce a lot of conversions, so if you are doing a lot of maths you are better off doing it all in floats and using the conversion functions directly.

    Functions

    Name Description
    GeoHalf()

    Constructor.

    GeoHalf(float)

    Construct from 'full' float.

    GeoHalf(u16)

    Construct from u16 representation of a half.

    operator-()

    Arithmetic operators.

    operator float()

    Convert to 'full' float.

    operator*=(GeoHalf)

    Arithmetic operators.

    operator*=(float)

    Arithmetic operators.

    operator/=(GeoHalf)

    Arithmetic operators.

    operator/=(float)

    Arithmetic operators.

    operator+=(const GeoHalf)

    Arithmetic operators.

    operator+=(float)

    Arithmetic operators.

    operator=(const GeoHalf)

    Arithmetic operators.

    operator=(float)

    Arithmetic operators.

    operator-=(GeoHalf)

    Arithmetic operators.

    operator-=(float)

    Arithmetic operators.


    Geo::GeoHalf::GeoHalf


    public: GeoHalf()


    Constructor.


    Geo::GeoHalf::GeoHalf


    public: GeoHalf
    (
        float f
    )


    Construct from 'full' float.


    Geo::GeoHalf::GeoHalf


    public: GeoHalf
    (
        u16 u
    )


    Construct from u16 representation of a half.


    GeoHalf Geo::GeoHalf::operator-


    public: GeoHalf operator-() const


    Arithmetic operators.


    Geo::GeoHalf::operator float


    public: operator float() const


    Convert to 'full' float.


    GeoHalf& Geo::GeoHalf::operator*=


    public: GeoHalf & operator*=
    (
        GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator*=


    public: GeoHalf & operator*=
    (
        float f
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator/=


    public: GeoHalf & operator/=
    (
        GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator/=


    public: GeoHalf & operator/=
    (
        float f
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator+=


    public: GeoHalf & operator+=
    (
        const GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator+=


    public: GeoHalf & operator+=
    (
        float f
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator=


    public: GeoHalf & operator=
    (
        const GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator=


    public: GeoHalf & operator=
    (
        float f
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator-=


    public: GeoHalf & operator-=
    (
        GeoHalf h
    )


    Arithmetic operators.


    GeoHalf& Geo::GeoHalf::operator-=


    public: GeoHalf & operator-=
    (
        float f
    )


    Arithmetic operators.

    , multiple selections available,
    {"serverDuration": 12, "requestCorrelationId": "eda7ce1eea464312aa61b5be9e6788a8"}