7e55045d10
[Renderer] Lots of clean up for OpenGLView.renderAtTime()
...
Lock and unlock and make current the view's context.
Do some weak error handling.
2015-11-14 22:13:56 -08:00
79ddf9ee54
[Renderer] Use a guard instead of an if
2015-11-14 09:58:38 -08:00
c9f24e095b
[Renderer] Delete and rebuild the Renderer project
...
It's just easier this way...
2015-11-13 22:45:17 -08:00
6fc2cd0a10
[Renderer] Rename OpenGLRenderer source directory to OpenGL
2015-11-13 22:41:47 -08:00
1485060712
[Renderer] Rename top-level directory
2015-11-13 22:40:54 -08:00
4d7c798b41
[Renderer] Rename OpenGLRenderer -> Renderer in Xcode
2015-11-13 22:40:10 -08:00
93da94e384
[OpenGLRenderer] Rough outline of an NSOpenGLView subclass
...
Handles setting up the displayLink and starting it when added/removed from a
superview. It is up to subclasses (or delegates -- I haven't decided which yet)
to add the appropriate behavior.
2015-11-13 08:31:54 -08:00
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
662e95bcca
[COLLADA] Endless fighting with Swift and COLLADA blahhhhhh
2015-10-31 12:52:12 -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
84f7d6bc2c
Add empty COLLADA target/project to the workspace
2015-10-28 20:38:46 -07:00
59c108b9cd
Add Math to the workspace
2015-10-28 20:38:11 -07:00
6434ef1cad
Basic Math target/project for vector math
2015-10-28 20:37:19 -07:00
27a0b21ce6
Basic README.md
2015-10-28 20:34:58 -07:00
3bcc99a8fd
Create empty workspace
2015-10-28 20:34:12 -07:00