dvec ~main

Library for extremely lightweight vector and matrix operations.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

dvec

Library for extremely lightweight vector and matrix operations.

Here's an example:

import dvec;
import std.stdio;

void main() {
    Vec2f p = Vec2f(0, 0);
    Mat3f tx = Mat3f.identity();
    tx.translate(42, 64);
    auto transformed = tx.map(p);
    assert(transformed.data == [42, 64]);
}

For more information, please see the documentation.

Authors:
  • Andrew Lalis
Dependencies:
none
Versions:
0.0.4 2022-Apr-10
0.0.3 2022-Apr-06
0.0.2 2022-Apr-05
0.0.1 2022-Apr-04
~main 2022-Apr-10
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 3 downloads total

Score:
0.4
Short URL:
dvec.dub.pm