Commit graph

  • 0c21294a53 Add from_value matrix constructor wrappers Brendan Zabarauskas 2012-11-22 06:59:37 +1000
  • 1e0d410eb6 Minor comment update Brendan Zabarauskas 2012-11-22 06:58:42 +1000
  • 3874cccde8 Further refine the organisation of the matrix traits Brendan Zabarauskas 2012-11-21 18:35:26 +1000
  • e2013002b5 Rename NumericMatrix_NxN to NumericMatrixNxN Brendan Zabarauskas 2012-11-21 18:08:08 +1000
  • e892f4db37 Add from_value gltype vector tests Brendan Zabarauskas 2012-11-21 15:15:55 +1000
  • 85444f1980 Add example to gltypes module comment. Simplify other comments in gltypes module Brendan Zabarauskas 2012-11-21 15:07:57 +1000
  • e13732f2ec Add description to gltypes module Brendan Zabarauskas 2012-11-21 14:52:16 +1000
  • 6472eac775 Add unit tests for gltypes module Brendan Zabarauskas 2012-11-21 14:33:20 +1000
  • 473dbfb3a2 Comment formatting Brendan Zabarauskas 2012-11-21 14:08:36 +1000
  • 2463a3244c Change quaternion type from four scalars (wxyz), to a scalar and vec3 (sv) Brendan Zabarauskas 2012-11-21 14:01:21 +1000
  • 8a9668c39c Change quaternion constructors to static methods Brendan Zabarauskas 2012-11-21 11:56:39 +1000
  • 525c3f9354 Change matrix constructors to static methods Brendan Zabarauskas 2012-11-20 22:27:17 +1000
  • a030f4cf19 Add comments Brendan Zabarauskas 2012-11-20 21:37:10 +1000
  • 16e687c25e Rename MatrixN traits Brendan Zabarauskas 2012-11-20 21:32:20 +1000
  • 8eab1d86f2 Make matN alias definitions dependent on their respective matNxN alias Brendan Zabarauskas 2012-11-20 19:23:11 +1000
  • b6cc803ecf Formatting Brendan Zabarauskas 2012-11-20 19:09:33 +1000
  • 0482e268ae Switch matrix zero and identity functions to static methods Brendan Zabarauskas 2012-11-20 19:06:49 +1000
  • a06d2cff54 Make vector constructors static functions Brendan Zabarauskas 2012-11-20 17:58:24 +1000
  • 59abaf7f87 Add zero and identity static methods Brendan Zabarauskas 2012-11-20 16:57:32 +1000
  • d7fb5fdd6b Remove TODO comments Brendan Zabarauskas 2012-11-20 15:40:36 +1000
  • 3aad63bf2c Remove math module Brendan Zabarauskas 2012-11-20 15:36:29 +1000
  • 491a82ec28 Implement DefaultEq for matrix, vector and quaternion types Brendan Zabarauskas 2012-11-20 15:35:06 +1000
  • be6ee9a7f4 Create an extension trait for bool Brendan Zabarauskas 2012-11-20 12:57:56 +1000
  • 211e9deee3 Inherit TypeConst and DefaultEq for base types Brendan Zabarauskas 2012-11-20 12:57:08 +1000
  • 05cb44dd60 Add TypeConsts trait Brendan Zabarauskas 2012-11-20 12:55:45 +1000
  • ef18db9f28 Add default_eq module Brendan Zabarauskas 2012-11-20 12:55:02 +1000
  • 2d47523736 Rename gl module to gltypes, add to cratefile Brendan Zabarauskas 2012-11-16 16:55:20 +1000
  • 0736136165 Add hack to get around the "expected item" error Brendan Zabarauskas 2012-11-16 16:53:53 +1000
  • f6966abf21 Fix cmath function calls Brendan Zabarauskas 2012-11-16 16:23:02 +1000
  • b8498b827b Move OpenGL type aliases to separate module Brendan Zabarauskas 2012-11-16 16:21:44 +1000
  • d85c968620 Remove Eq from dimensional trait Brendan Zabarauskas 2012-11-15 13:16:44 +1000
  • 788420b33f Rename modules to short, idiomatic names Brendan Zabarauskas 2012-11-15 12:23:39 +1000
  • 8199cbe742 Create Dimensional trait Brendan Zabarauskas 2012-11-15 12:22:41 +1000
  • 90ee516370 Move numeric-specific modules to num module, clean up imports Brendan Zabarauskas 2012-11-15 10:31:35 +1000
  • 29e1231eef Add component-wise map, map2 and fold performance tests Brendan Zabarauskas 2012-11-15 09:02:20 +1000
  • 0bc896581c Start creating Euler struct Brendan Zabarauskas 2012-11-14 18:27:10 +1000
  • aada68c23e Add mat3_from_rotation function Brendan Zabarauskas 2012-11-14 18:23:15 +1000
  • a9273389ea Improve length tests and add distance tests Brendan Zabarauskas 2012-11-14 17:55:55 +1000
  • d62cefc543 Use trait inheritance Brendan Zabarauskas 2012-11-14 16:13:27 +1000
  • f22c261b65 Create and implement IntConsts and FloatConsts traits Brendan Zabarauskas 2012-11-14 15:45:01 +1000
  • 5f8b30d993 Add one and zero static methods Brendan Zabarauskas 2012-11-14 15:17:35 +1000
  • bfe1a272ec Rename type parameters Brendan Zabarauskas 2012-11-14 14:53:13 +1000
  • b860a63cbc Simplify length2 method Brendan Zabarauskas 2012-11-14 14:42:40 +1000
  • 342817610d Move add_m and sub_m methods Brendan Zabarauskas 2012-11-14 14:00:26 +1000
  • e582e5edf5 Move to_ptr methods Brendan Zabarauskas 2012-11-14 11:55:54 +1000
  • 26bab58b0d Add distance methods Brendan Zabarauskas 2012-11-14 11:09:35 +1000
  • 07df95313e Move index overload methods into main Vector/Matrix impls Brendan Zabarauskas 2012-11-14 10:28:56 +1000
  • 37d3bcd495 Inherit Neg and move neg method into appropriate impls Brendan Zabarauskas 2012-11-14 10:20:36 +1000
  • bac59d2332 Inherit Vector trait Brendan Zabarauskas 2012-11-13 18:44:28 +1000
  • ef3432bcc6 Remove mod_ method and function Brendan Zabarauskas 2012-11-13 11:46:25 +1000
  • 7492677366 Begin taking advantage of trait inheritance Brendan Zabarauskas 2012-11-13 11:44:44 +1000
  • f2e3181c16 Fix ToPtr trait implementations Brendan Zabarauskas 2012-11-13 10:31:14 +1000
  • 0c4b2868d8 Explain current issues with trait bounds Brendan Zabarauskas 2012-11-12 14:07:50 +1000
  • 16ba5ccb9b Use abs function Brendan Zabarauskas 2012-11-12 11:52:32 +1000
  • 1a60dfa095 Idiomatic range loops Brendan Zabarauskas 2012-11-12 11:41:28 +1000
  • a3e4d090d6 Replace from_int function calls with cast for consistency Brendan Zabarauskas 2012-11-11 13:43:37 +1000
  • 683ebf88eb Fix purity Brendan Zabarauskas 2012-11-11 13:36:28 +1000
  • 9d73f0e94b Moved mix methods into Mix trait Brendan Zabarauskas 2012-11-11 13:35:13 +1000
  • eddffbc0dc Add mul_v method and from_axis_angle function (thanks Dzmitry) Brendan Zabarauskas 2012-11-10 11:12:27 +1000
  • b7681954d7 Implement nlerp and slerp methods Brendan Zabarauskas 2012-11-09 17:32:41 +1000
  • 59a9cdb8d7 Add normalize method Brendan Zabarauskas 2012-11-09 17:31:40 +1000
  • 693a0adda0 Add dot product Brendan Zabarauskas 2012-11-09 17:30:18 +1000
  • b074ecafbd Formatting Brendan Zabarauskas 2012-11-09 17:29:25 +1000
  • f0ca91e452 Update Trig, add AngleConv trait, remove Degrees and Radians types for the time being Brendan Zabarauskas 2012-11-09 16:18:14 +1000
  • d8bfafa552 Improved argument name Brendan Zabarauskas 2012-11-08 17:05:53 +1000
  • 57fd8a5a41 Rename Numeric type to Extent Brendan Zabarauskas 2012-11-08 17:05:11 +1000
  • aeab46451e Implemented exponential functions for each vector type Brendan Zabarauskas 2012-11-08 14:09:15 +1000
  • ede4575b2d OCD formatting Brendan Zabarauskas 2012-11-08 13:46:01 +1000
  • de72215d05 Rename SquareMatrix to NumericMatrix_NxN Brendan Zabarauskas 2012-11-08 13:30:00 +1000
  • e904f91105 Determinant is only defined for square matricies. Luqman Aden 2012-11-07 21:54:24 -0500
  • 520ba818e6 Fix determinant/inver for 2x2. Luqman Aden 2012-11-07 21:52:16 -0500
  • a76378e83e Big oops, not all 2x2 matricies are upper/lower triangular. Luqman Aden 2012-11-07 21:37:41 -0500
  • f7fb7f7100 Added determinants and inversion. Luqman Aden 2012-11-07 21:34:38 -0500
  • 34add64ffd Fix strikethroughs Brendan Zabarauskas 2012-11-08 12:14:50 +1000
  • 2d4dda8168 Update todo list Brendan Zabarauskas 2012-11-08 12:09:25 +1000
  • 8a4489c4ef Add transform unit test Brendan Zabarauskas 2012-11-08 11:48:50 +1000
  • e06117f29c Add Radian and Degree types Brendan Zabarauskas 2012-11-08 11:48:29 +1000
  • c30aca03e6 Rename FloatingPoint to Float for brevity Brendan Zabarauskas 2012-11-08 11:47:56 +1000
  • 53a04a03f6 Remove vector-scalar addition/subtraction Brendan Zabarauskas 2012-11-08 11:40:03 +1000
  • 499e5cfeae Fix function visibility Brendan Zabarauskas 2012-11-07 14:01:01 +1000
  • bc30f193e7 Move projection.rs to funs module Brendan Zabarauskas 2012-11-07 12:38:44 +1000
  • 3316a77192 Add mat4_from_rotation function Brendan Zabarauskas 2012-11-07 12:36:35 +1000
  • 66cfc5f77a Ignore dSYM packages Brendan Zabarauskas 2012-11-07 11:11:22 +1000
  • bfe318aff5 Add explanation to matrix multiplication Brendan Zabarauskas 2012-11-07 11:07:13 +1000
  • 1fe0d52fe4 Improve matrix multiplication Brendan Zabarauskas 2012-11-07 08:38:44 +1000
  • b792b8d7cd Add NumericMatrix trait Brendan Zabarauskas 2012-11-06 20:03:55 +1000
  • 9cf0f2887a Update crate url Brendan Zabarauskas 2012-11-06 14:03:14 +1000
  • e2cfe36b9d Make type aliases public Brendan Zabarauskas 2012-11-06 12:23:06 +1000
  • 6d7b81648b Fix purity and visibility modifiers Brendan Zabarauskas 2012-11-06 12:06:34 +1000
  • 89d600af22 Formatting Brendan Zabarauskas 2012-11-06 12:01:39 +1000
  • 40e847f34f Move functions to funs module. Add additional functions as per the GLSL spec Brendan Zabarauskas 2012-11-06 11:57:15 +1000
  • 75a94dd745 Update gitignore Brendan Zabarauskas 2012-11-05 20:32:25 +1000
  • 1f61701d00 Create relational module Brendan Zabarauskas 2012-11-05 20:31:52 +1000
  • c3344b5a6f Use GLSL nomenclature Brendan Zabarauskas 2012-11-05 17:40:31 +1000
  • d2cf5c9da3 Use dot product for matrix-vector multiplication Brendan Zabarauskas 2012-11-05 17:33:11 +1000
  • 8bab3a96ce Remove unnecessary type parameter Brendan Zabarauskas 2012-11-05 17:03:32 +1000
  • a1a31907d7 Add and implement SquareMatrix trait Brendan Zabarauskas 2012-11-05 14:46:28 +1000
  • 20a1596cf2 Add commented out constuctors Brendan Zabarauskas 2012-11-05 13:25:11 +1000
  • ae9112452a Make Vector traits more specific, add BooleanVector trait Brendan Zabarauskas 2012-11-05 13:18:44 +1000
  • 9491c4d93f Add GLSL type aliases Brendan Zabarauskas 2012-11-05 12:39:58 +1000