Vec3 class final

A vector in three dimensions.

See mln_vec3 in the C API reference.

Constructors

Vec3({double x = 0, double y = 0, double z = 0})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → double
final
y → double
final
z → double
final

Methods

copyWith({double? x, double? y, double? z}) → Vec3
A copy of this value with the given members replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited