struct CrystalEdge::Vector4
- CrystalEdge::Vector4
- Struct
- Value
- Object
Defined in:
crystaledge/vector4.crConstructors
Class Method Summary
-
.zero
Zero vector
Instance Method Summary
- #!=(other : Vector4)
- #%(other : Vector4)
- #*(other : Vector4)
- #*(other : Float64)
- #**(other : Vector4)
- #+(other : Vector4)
- #+(other : Float64)
- #-(other : Vector4)
- #-(other : Float64)
- #-
- #/(other : Vector4)
- #/(other : Float64)
- #==(other : Vector4)
- #clone
- #clone(&b)
-
#cross(other : Vector4)
Cross product
- #distance(other : Vector4)
-
#dot(other : Vector4)
Dot product
- #magnitude
- #normalize
- #normalize!
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #values
- #w : Float64
- #w=(w : Float64)
- #x : Float64
- #x=(x : Float64)
- #y : Float64
- #y=(y : Float64)
- #z : Float64
- #z=(z : Float64)
- #zero!
Constructor Detail
Class Method Detail
Instance Method Detail
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.