Flutter
vector_math
dot2 function
dot2
vector_math library
Classes
Aabb2
Aabb3
Colors
Frustum
IntersectionResult
Matrix2
Matrix3
Matrix4
Obb3
Plane
Quad
Quaternion
Ray
SimplexNoise
Sphere
Triangle
Vector
Vector2
Vector3
Vector4
Constants
degrees2Radians
radians2Degrees
Functions
absoluteError
buildPlaneVectors
catmullRom
cross2
cross2A
cross2B
cross3
degrees
dot2
dot3
makeFrustumMatrix
makeInfiniteMatrix
makeOrthographicMatrix
makePerspectiveMatrix
makePlaneProjection
makePlaneReflection
makeViewMatrix
mix
pickRay
radians
relativeError
setFrustumMatrix
setInfiniteMatrix
setModelMatrix
setOrthographicMatrix
setPerspectiveMatrix
setRotationMatrix
setViewMatrix
smoothStep
unproject
dot2 function
double
dot2
(
Vector2
x
,
Vector2
y
)
2D dot product.
Implementation
double dot2(Vector2 x, Vector2 y) => x.dot(y);