dvec 0.0.3

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.7 2022-Oct-26
0.0.6 2022-Oct-25
0.0.5 2022-Oct-24
0.0.4 2022-Apr-10
0.0.3 2022-Apr-06
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 34 downloads total

Score:
0.9
Short URL:
dvec.dub.pm