Table of Contents

Namespace Vintagestory.API.MathTools

Classes

Cuboidf

Represents a three dimensional axis-aligned cuboid using two 3D coordinates. Used for collision and selection boxes. Open in GitHub

Cuboidi

A 3D cuboid, created out of integers. Open in GitHub

EvolvingNatFloat

A number generator whose return value changes over time, parametrized by a transform function and some constants Open in GitHub

NatFloat

A more natural random number generator (nature usually doesn't grow by the exact same numbers nor does it completely randomly) Open in GitHub

Size3f

Represents a vector of 3 floats. Go bug Tyron of you need more utility methods in this class. Open in GitHub

Vec2f

Represents a vector of 2 floats. Go bug Tyron of you need more utility methods in this class. Open in GitHub

Enums

EnumColorBlendMode

Specifies types of per-pixel color blending. Open in GitHub

EnumCombination

Used to define how variant types interact with each other to create unique objects. Open in GitHub

EnumDistribution

The distribution of the random numbers Open in GitHub

EnumTransformFunction

Used for EvolvingNatFloat value transforms Open in GitHub