Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Classes

NameDescription
Geo::GeoGuid

A 128 bit identifier used to uniquely identify objects in the precompute.

Variables

NameDescription
const float g_MaxNegFloat = -FLT_MAX

Largest representable negative float.

const float g_MaxPosFloat = FLT_MAX

Largest representable positive float.

const float g_MinFloat = FLT_MIN

Smallest representable positive float.

const float g_UnitEpsilon = FLT_EPSILON

Smallest float such that 1.f + g_UnitEpsilon != 1.f.

Functions

NameDescription
A()

Accessors to individual 32-bit components, corresponding to the args passed to Create.

B()

Accessors to individual 32-bit components, corresponding to the args passed to Create.

C()

Accessors to individual 32-bit components, corresponding to the args passed to Create.

Create(u64, u64)

Create a Guid from 2 u64 values.

Create(u32, u32, u64)

Create a Guid from 2 u32 values and 1 u64 value.

Create(u32, u32, u32, u32)

Create a Guid from 4 u32 values.

CreateFromHighFreqSystemClock(u64)

Creates a Guid from the high frequency system clock - this will be unique for this application instantiation.

D()

Accessors to individual 32-bit components, corresponding to the args passed to Create.

GeoGetCurrentPlatform()

Get the platform this code was compiled for.

GeoGetPlatformName(ePlatform)

Returns a text string containing the platform name.

GeoGuid()

Constructor.

High()

Returns the 1st 64 bit block.

Low()

Returns the 2nd 64 bit block.

operator!=(const GeoGuid &)

Value comparison operators.

operator<(const GeoGuid &)

Value comparison operators.

operator<=(const GeoGuid &)

Value comparison operators.

operator==(const GeoGuid &)

Value comparison operators.

Enums

NameDescription
ePlatform

Enumeration for those cases at runtime that we need to do separate functionality for each platform.

Typedefs

NameDescription
GeoString< char > GeoGuidString

String type that can contain a textual GeoGuid representation.

short s16

Signed 16-bit integer.

int s32

Signed 32-bit integer.

s32 s32a

Signed 32-bit integer.

__int64 s64

Signed 64-bit integer.

s64 s64a

Signed 64-bit integer.

char s8

Signed 8-bit integer.

unsigned short u16

Unsigned 16-bit integer.

unsigned int u32

Unsigned 32-bit integer.

u32 u32a

Unsigned 32-bit integer.

unsigned __int64 u64

Unsigned 64-bit integer.

u64 u64a

Unsigned 64-bit integer.

unsigned char u8

Unsigned 8-bit integer.

__m128 v128

A 4-float intrinsic vector type laid out as {x,y,z,w} - the same way you would lay out a structure.


Anchor
a793fe33395cb7ba3df668850e10332a1
a793fe33395cb7ba3df668850e10332a1

u32 Geo::GeoGuid::A

...

public: u32 A() const

...

Accessors to individual 32-bit components, corresponding to the args passed to Create.


Anchor
a1e23d6570f058a2dd2ad35c42d4537f6
a1e23d6570f058a2dd2ad35c42d4537f6

u32 Geo::GeoGuid::B

...

public: u32 B() const

...

Accessors to individual 32-bit components, corresponding to the args passed to Create.


Anchor
a83d7bc68ea5027bc4c8ac6d4efe8380c
a83d7bc68ea5027bc4c8ac6d4efe8380c

u32 Geo::GeoGuid::C

...

public: u32 C() const

...

Accessors to individual 32-bit components, corresponding to the args passed to Create.


Anchor
a4ff1ffb34676a27ade67cacad665bb20
a4ff1ffb34676a27ade67cacad665bb20

GeoGuid Geo::GeoGuid::Create

...

public: GeoGuid Create
(
    u64 a,
    u64 b
)

...

Create a Guid from 2 u64 values.


Anchor
aa03b5a8ffb01a2050cdc622c79238f37
aa03b5a8ffb01a2050cdc622c79238f37

GeoGuid Geo::GeoGuid::Create

...

public: GeoGuid Create
(
    u32 idA,
    u32 idB,
    u64 idC
)

...

Create a Guid from 2 u32 values and 1 u64 value.


Anchor
a5513da91ebc0b09d4c87835301407101
a5513da91ebc0b09d4c87835301407101

GeoGuid Geo::GeoGuid::Create

...

public: GeoGuid Create
(
    u32 idA,
    u32 idB,
    u32 idC,
    u32 idD
)

...

Create a Guid from 4 u32 values.


Anchor
a06baeadd73d1670732fdcca49f72062b
a06baeadd73d1670732fdcca49f72062b

GeoGuid Geo::GeoGuid::CreateFromHighFreqSystemClock

...

public: GeoGuid CreateFromHighFreqSystemClock
(
    u64 type
)

...

Creates a Guid from the high frequency system clock - this will be unique for this application instantiation.


Anchor
af2cdb7e083f1baa01032c8c3c762b089
af2cdb7e083f1baa01032c8c3c762b089

u32 Geo::GeoGuid::D

...

public: u32 D() const

...

Accessors to individual 32-bit components, corresponding to the args passed to Create.


Anchor
a1bd5056e1f332063bc05f45430e8b3c3
a1bd5056e1f332063bc05f45430e8b3c3

ePlatform Geo::GeoGetCurrentPlatform

...

public: ePlatform GeoGetCurrentPlatform()

...

Get the platform this code was compiled for.


Anchor
afd0a216c00c1edc85a47134e226e57ba
afd0a216c00c1edc85a47134e226e57ba

const char* GEO_CALL Geo::GeoGetPlatformName

...

public: const char *GEO_CALL GeoGetPlatformName
(
    ePlatform platform
)

...

Returns a text string containing the platform name.


Anchor
af49246cd143240e64488bc4c244dbaef
af49246cd143240e64488bc4c244dbaef

Geo::GeoGuid::GeoGuid

...

public: GeoGuid()

...

Constructor.


Anchor
a07f9d2f99e3eaa62f19fdcf4d87d7047
a07f9d2f99e3eaa62f19fdcf4d87d7047

u64 Geo::GeoGuid::High

...

public: u64 High() const

...

Returns the 1st 64 bit block.


Anchor
a9db4c1282620293d9c7fb9bf467a848c
a9db4c1282620293d9c7fb9bf467a848c

u64 Geo::GeoGuid::Low

...

public: u64 Low() const

...

Returns the 2nd 64 bit block.


Anchor
a3e86f52d4052e12e56162ff9c97e1361
a3e86f52d4052e12e56162ff9c97e1361

bool Geo::GeoGuid::operator!=

...

public: bool operator!=
(
    const GeoGuid & rhs
) const

...

Value comparison operators.


Anchor
a492d479bb89408c2b905729cb1f26fe1
a492d479bb89408c2b905729cb1f26fe1

bool Geo::GeoGuid::operator<

...

public: bool operator<
(
    const GeoGuid & rhs
) const

...

Value comparison operators.


Anchor
aae983cefa704da472f6d68ddf54fc1dc
aae983cefa704da472f6d68ddf54fc1dc

bool Geo::GeoGuid::operator<=

...

public: bool operator<=
(
    const GeoGuid & rhs
) const

...

Value comparison operators.


Anchor
a67036b625db099ce1dd83a20d179d169
a67036b625db099ce1dd83a20d179d169

bool Geo::GeoGuid::operator==

...

public: bool operator==
(
    const GeoGuid & rhs
) const

...

Value comparison operators.


Anchor
aaabe0f927ea294483ac6502cd31cf7d4
aaabe0f927ea294483ac6502cd31cf7d4

ePlatform

...

public: enum ePlatform
{
    GEO_PLATFORM_WINDOWS,
    GEO_PLATFORM_OSX,
    GEO_PLATFORM_LINUX,
    GEO_PLATFORM_XBOX_ONE,
    GEO_PLATFORM_XSX,
    GEO_PLATFORM_PS4,
    GEO_PLATFORM_IOS,
    GEO_PLATFORM_ANDROID,
    GEO_PLATFORM_LINUX_ARM,
    GEO_PLATFORM_ANDROID_INTEL,
    GEO_PLATFORM_SWITCH,
    GEO_PLATFORM_STADIA,
    GEO_PLATFORM_UNKNOWN
}

...

Enumeration for those cases at runtime that we need to do separate functionality for each platform.

enumerators
GEO_PLATFORM_WINDOWS

Windows-based PCs (x86, x64, vista, 7, etc)

GEO_PLATFORM_OSX

Mac OSX (x86, x64)

GEO_PLATFORM_LINUX

Linux-based desktop PC.

GEO_PLATFORM_XBOX_ONE

Xbox One.

GEO_PLATFORM_XSX

Xbox Series X.

GEO_PLATFORM_PS4

PlayStation 4.

GEO_PLATFORM_IOS

iOS

GEO_PLATFORM_ANDROID

Android (ARM)

GEO_PLATFORM_LINUX_ARM

Linux-based ARM device.

GEO_PLATFORM_ANDROID_INTEL

Android (x86)

GEO_PLATFORM_SWITCH

Nintendo Switch.

GEO_PLATFORM_STADIA

Google Stadia.

GEO_PLATFORM_UNKNOWN

Unknown platform.