GitXplorerGitXplorer
A

aa_vectors.dart

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
62e346f0aa7f03c9c061f0427d88d1093323025b

Substantial Update

tt6iz8t48 committed 9 years ago
Unverified
3e0b92be6640c9c6d90af06184fd5d2fe77b0f21

Substantial update

tt6iz8t48 committed 9 years ago
Unverified
86dd6492ba8ebdeacafa9d1fa33895860a9bdd86

Incremental updates

AArgentiApparatus committed 9 years ago
Unverified
5be6de2b41bc585c42bc0f6f711ac4ce08ed3c98

Incremental updates

AArgentiApparatus committed 9 years ago
Unverified
709d979b6fd78cb61d95ea4ec3efe6f5483b313e

Incremental updates

AArgentiApparatus committed 9 years ago
Unverified
a1479ccbc1598934e5b1061d7cb12983c4c6b022

API Refactoring

AArgentiApparatus committed 9 years ago

README

The README file for this repository.

aa_vectors.dart - Argenti Apparatus's Vectors

A vector and matrix math library for 2D and 3D applications.

Github Page

Features

  • Vectors
  • Vector lists
  • Affine transformations
  • Projection transformations
  • OpenGL friendliness

Currently Implemented

  • 2D and 3D vectors
  • 2D rotation

Currently Unimplemented

  • Everything else

Using aa_vectors.dart

Dependencies:

aa_vectors.dart is not (yet) available on Pub and must be had from Github.

To get the latest commited version (which may or may not be broken):

In your pubspec.yaml:

dependencies:
  vector_math:
    git: https://github.com/argentiapparatus/aa_vectors.dart.git

To get a specific release, tag or branch (which may or may not be broken):

dependencies:
  vector_math:
    git: https://github.com/argentiapparatus/aa_vectors.dart.git
    ref: some-identifer

See the aa_vectors.dart Github page to find release, tags and branches.

See Pub Dependencies - Github Packages for more details.

Imports:

import 'package:aa_vectors/vectors.dart';
import 'package:aa_vectors/vector_lists.dart';
import 'package:aa_vectors/opengl.dart';

Documentation

TODO

Credits

aa_vectors.dart was inspired by John McCutchan's / Google's vector_math.dart library.

Vector and vector list classes were drawn directly from vector_math.dart. However, the class APIs have been heavily reworked in an effort to adhere more closely to up-to-date Dart practices. (see Effective Dart), and also as an excercise in API design for the author. Method implementations (i.e., the hard parts) are largely unchanged from those found in vector_math.dart.

aa_vectors.dart features rotation and perspective classes instead of general matrices, quaternions etc. The required math implementations are again drawn from vector_math.dart.