|
a1270d4ea5
|
[Math] MARKs for general health
|
2015-11-12 23:23:24 -08:00 |
|
|
d536e8f04b
|
[Math] Make Vector3 and Vector4 CustomStringConvertable
|
2015-11-12 23:23:24 -08:00 |
|
|
77b0bf7014
|
[Math] Make vectors AlmostEquatable
|
2015-11-12 23:23:24 -08:00 |
|
|
cd8bd144f6
|
[Math] Fix Matrix-Vector multiplication
|
2015-11-12 23:23:24 -08:00 |
|
|
23bbdac76a
|
[Math] Some basic Vector tests
|
2015-11-12 23:23:24 -08:00 |
|
|
58dfb3f787
|
[Math] ==~ operator applies to any <AlmostEquatable, EquatableWithinEpsilon>
|
2015-11-12 23:23:24 -08:00 |
|
|
1d1e5134d8
|
[Math] Add test that Matrix init throws for invalid values array
|
2015-11-12 23:22:42 -08:00 |
|
|
94b12cc2ba
|
[Math] Create Types.swift
|
2015-11-06 08:15:23 -08:00 |
|
|
204606d256
|
[Math] Some operator tests
|
2015-11-01 20:40:37 -08:00 |
|
|
541e7c38ef
|
[Math] Move the multiplication to the * operator
*= must be done with a temporary variable first to avoid stepping on the other elements.
|
2015-11-01 20:40:27 -08:00 |
|
|
65823610c1
|
[Math] Fix my negation operator
|
2015-11-01 20:39:39 -08:00 |
|
|
fcd68b8f86
|
[Math] Marks for Matrix tests
|
2015-11-01 20:15:38 -08:00 |
|
|
f6740cae06
|
[Math] Add translation, scale, and rotation about single axis constructors for Matrix4
|
2015-11-01 20:15:13 -08:00 |
|
|
95560b8a8a
|
[Math] for loops for checking Matrix values
|
2015-11-01 19:40:20 -08:00 |
|
|
48e531efbf
|
[Math] Refactor the tests a bit
Use non-optional m, and pre-set the values array.
|
2015-11-01 19:40:00 -08:00 |
|
|
0778e62fd0
|
[Math] Make Matrix subscript setters mutable
I think this avoids making unnecessary copies of the matrix when setting data values.
|
2015-11-01 19:39:01 -08:00 |
|
|
acd879465c
|
[Math] Working out some tests for matrices
|
2015-11-01 13:12:17 -08:00 |
|
|
90e9b96468
|
[Math] Bump the precedence of cross product to 151 -- it should be done first
|
2015-11-01 07:32:17 -08:00 |
|
|
bf9a4ba138
|
[Math] Remove some dead code
|
2015-11-01 07:31:11 -08:00 |
|
|
c6203f1af8
|
[Math] Fix up the matrices
|
2015-10-31 18:18:41 -07:00 |
|
|
62570392b0
|
[Math] Tweakin' the Vectors a bit
- count is a static var
|
2015-10-31 18:18:14 -07:00 |
|
|
9be3a41bdf
|
Formatting
|
2015-10-29 11:45:55 -07:00 |
|
|
e6df8499e5
|
Move some stuff around...
|
2015-10-29 11:01:39 -07:00 |
|
|
d1bd19a356
|
Move vector stuff to its own Swift file and finish 'em up!
|
2015-10-29 10:56:31 -07:00 |
|
|
e7e53ba73c
|
Rename Matrices.swift -> Matrix.swift
|
2015-10-29 07:51:36 -07:00 |
|
|
3e1a1fc9b6
|
[Math] Vertex4
|
2015-10-29 07:51:07 -07:00 |
|
|
2b1e3648f4
|
[Math] Sort out Vector3, make it conform to Vector protocol
|
2015-10-28 20:56:21 -07:00 |
|
|
6434ef1cad
|
Basic Math target/project for vector math
|
2015-10-28 20:37:19 -07:00 |
|