Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Shale::Vector4(T)
Inherits
Struct
<
Value
<
Object
Constructors
new
(x :
T
, y :
T
, z :
T
, w :
T
)
Source
Instance methods
*
(other : self) : self
Source
*
(value :
Number
) : self
Source
+
(other : self) : self
Source
+
(value :
Number
) : self
Source
-
(other : self) : self
Source
-
(value :
Number
) : self
Source
/
(other : self) : self
Source
/
(value :
Number
) : self
Source
==
(other : self) :
Bool
Source
abs
Source
cross
(other : self) : self
Source
dot
(other : self) :
Float
Source
len
Source
lerp
(other : self, factor :
Float32
) : self
Source
max
Source
normalized
Source
w
Source
x
Source
y
Source
z
Source
Macros
[]
(*args)
Source