glam_det 2.0.0

A simple and fast 3D math library for games and graphics.
Documentation
// Copyright (C) 2020-2025 glam-det authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

mod dvec2_impl;
mod dvec3_impl;
mod dvec4_impl;

mod ivec2_impl;
mod ivec3_impl;
mod ivec4_impl;

mod uvec2_impl;
mod uvec3_impl;
mod uvec4_impl;

mod vec2_impl;
mod vec3_impl;

mod vec2x4_impl;
mod vec3x4_impl;
mod vec4x4_impl;

mod dpoint2_impl;
mod dpoint3_impl;
mod dpoint4_impl;

mod ipoint2_impl;
mod ipoint3_impl;
mod ipoint4_impl;

mod upoint2_impl;
mod upoint3_impl;
mod upoint4_impl;

mod point2_impl;
mod point3_impl;

mod point2x4_impl;
mod point3x4_impl;
mod point4x4_impl;

#[cfg(any(
    not(any(
        target_feature = "sse2",
        target_feature = "simd128",
        all(target_feature = "neon", target_arch = "aarch64")
    )),
    feature = "scalar-math"
))]
mod scalar;

#[cfg(all(target_feature = "sse2", not(feature = "scalar-math")))]
mod sse2;

#[cfg(all(target_feature = "simd128", not(feature = "scalar-math")))]
mod wasm32;

#[cfg(all(
    target_feature = "neon",
    target_arch = "aarch64",
    not(feature = "scalar-math")
))]
mod neon;

#[cfg(all(
    any(
        target_feature = "sse2",
        target_feature = "simd128",
        all(target_feature = "neon", target_arch = "aarch64")
    ),
    not(feature = "scalar-math"),
    feature = "ffi-safe"
))]
mod ffi;

mod vec_traits;
pub use vec_traits::*;