struct
Opal::Graphics::Vec3
- Opal::Graphics::Vec3
- Struct
- Value
- Object
Overview
3D Vector for coordinates, directions, and surface normals
Defined in:
opal/graphics/primitives_3d.crConstructors
Instance Method Summary
- #*(scalar : Float64) : Vec3
- #+(other : Vec3) : Vec3
- #-(other : Vec3) : Vec3
- #cross(other : Vec3) : Vec3
- #dot(other : Vec3) : Float64
- #length : Float64
- #normalize : Vec3
- #x : Float64
- #y : Float64
- #z : Float64