diff --git a/absrel/src/abs.rs b/absrel/src/abs.rs index b043ce6..1e7a997 100644 --- a/absrel/src/abs.rs +++ b/absrel/src/abs.rs @@ -1,3 +1,4 @@ /// This type represents an absolute value, such as a coordinate for a world position. /// This is called a euclidean point in Geometric Algebra. +/// The most appropriate type here is a fixed-point value. pub struct Absolute(T); diff --git a/absrel/src/rel.rs b/absrel/src/rel.rs index 3778b34..13ead80 100644 --- a/absrel/src/rel.rs +++ b/absrel/src/rel.rs @@ -4,4 +4,5 @@ /// implement your number-crunching logic using this type. /// Once the calculation is complete, it can be added to an absolute value /// with the effect of offsetting the value to a new absolute value. +/// The most appropriate type here is a floating point value. pub struct Relative(T);