use-affine 0.0.6

Affine-space helpers for the RustUse geometry workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# use-affine

Affine-space helpers for the RustUse geometry workspace.

`use-affine` starts with small affine combination helpers rather than a full affine algebra system.

## Example

```rust
use use_affine::affine_combination_2d;
use use_point::Point2;

let midpoint = affine_combination_2d(Point2::new(0.0, 0.0), Point2::new(4.0, 2.0), 0.5);

assert_eq!(midpoint, Point2::new(2.0, 1.0));
```