1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//===================================================================================================================================================================================//
//
// /$$$$$$$ /$$
// | $$__ $$ | $$
// | $$ \ $$ /$$$$$$ /$$$$$$ /$$$$$$
// | $$$$$$$/ /$$__ $$ /$$__ $$|_ $$_/
// | $$__ $$| $$ \ $$| $$ \ $$ | $$
// | $$ \ $$| $$ | $$| $$ | $$ | $$ /$$
// | $$ | $$| $$$$$$/| $$$$$$/ | $$$$/
// |__/ |__/ \______/ \______/ \___/
//
//===================================================================================================================================================================================//
//?
//? Created by LunaticWyrm467 and others.
//?
//? All code is licensed under the MIT license.
//? Feel free to reproduce, modify, and do whatever.
//?
//!
//! The root file of the library. Nothing special here.
//!
extern crate alloc;
/// The scalar module contains traits and functions that are added to basic primitive types.
/// While you can import from this module, scalar traits will automatically be imported from the `prelude` module.
/// Generally speaking, you'll want to use the prelude module to get all of the traits and functions you'll need.
/// This does not include any of the individual types. If you want those, import from the `vector` and/or `rect` modules.
/*
Vectorized
Trait
*/
/// We expose this private trait to the whole library so our library's generic traits can use it,
/// but we don't allow it to be used outside of the library since there are more readable options
/// such as `Vectorized2D`, `Vectorized3D`, and `Vectorized4D` whose functions are more
/// approachable.