Lua
C++
Edit

Vec3

This structure describes a three-dimensional vector.

Property Type Description
x, r float x component of the vector
y, g float y component of the vector
z, b float z component of the vector
Vec3 Constructor Vec3(const float x)
Vec3 Constructor Vec3(const float x, const float y, const float z)
DistanceToPoint Method gets the vector dot product
Dot Method gets the distance to a point
Cross Method gets the vector cross product
Hsl Method converts an RGB value to HSL
Inverse Method gets the inverse vector
Length Method gets the vector length
Normalize Method gets the normalized vector
Reflect Method gets the reflected vector
Rgb Method converts an HSL value to RGB
Copyright © 2024 Ultra Software.
All rights reserved.