File: src/geom.cpp
1// --------------------------------------------------------------------------------------------------2// SPDX-License-Identifier: Apache-2.03// SPDX-FileCopyrightText: 2026 cpdocs developers4// --------------------------------------------------------------------------------------------------5#include "geom/vector.hpp"6 7double geom::dot(vector3 const& a, vector3 const& b) noexcept {8 return a.x * b.x + a.y * b.y + a.z * b.z;9}