ekmett / ekmett/linear

Support for 2D homogeneous coordinates

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
api-change feature request
Dominant language
Haskell
Stars
220
Forks
55
PR merge metrics
No merged PRs in 30d

Description

There currently exists in `Linear.V4`

```
point :: Num a => V3 a -> V4 a
```

Any chance of generalizing this?

```
point :: (Num a, Dim k) => V k a -> V (k +1) a
```

More concretely, I'm after a 2D cartesian -> 3D homogeneous coordinates.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.