Class NormalUtil
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public static class NormalUtil
- Inheritance
-
NormalUtil
- Inherited Members
-
Fields
NegBit
Field Value
- int
nineBitMask
public static int nineBitMask
Field Value
- int
tenBitMask
public static int tenBitMask
Field Value
- int
tenthBitMask
public static int tenthBitMask
Field Value
- int
Methods
FromPackedNormal(int, ref float[])
public static void FromPackedNormal(int normal, ref float[] toFill)
Parameters
normal
int
toFill
float[]
FromPackedNormal(int, ref Vec4f)
public static void FromPackedNormal(int normal, ref Vec4f toFill)
Parameters
normal
int
toFill
Vec4f
PackNormal(float, float, float)
public static int PackNormal(float x, float y, float z)
Parameters
x
float
y
float
z
float
Returns
- int
PackNormal(Vec4f)
public static int PackNormal(Vec4f normal)
Parameters
normal
Vec4f
Returns
- int