jax 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,39 @@
1
+ * 1.1.1 *
2
+
3
+ * Mouse events are scaled in relation to the real canvas size, regardless of CSS styling.
4
+ This means you can always deal with mouse position in terms of the canvas +width+ and
5
+ +height+ attributes, without worrying about the actual pixel size on the client machine.
6
+
7
+ * Resolved an issue which caused picking to fail due to using string values for shader
8
+ names instead of instances of Jax.Shader.
9
+
10
+ * If Jax.Camera#fixedYawAxis is enabled, the Jax.Camera#setDirection method will now honor
11
+ that, and maintain the fixed yaw axis as expected.
12
+
13
+ * Added Jax.Geometry.Line, which is used in intersection tests.
14
+
15
+ * Significantly improved Jax.Geometry.Plane, and added 6 new intersection tests:
16
+ * Jax.Geometry.Line
17
+ * intersectLineSegment
18
+ * Jax.Geometry.Plane
19
+ * intersectRay
20
+ * intersectPlane
21
+ * intersectTriangle
22
+ * intersectLineSegment
23
+ * Jax.Geometry.Triangle
24
+ * intersectTriangle with an optional argument to capture the point of intersection
25
+
26
+ * Further optimized Jax.Geometry.Triangle and friends
27
+
28
+ * Jax now renders meshes consisting of GL_POINTS properly.
29
+
30
+ * Light manager now reverts the blend mode back to alpha blending, instead of leaving it
31
+ set to additive blending.
32
+
33
+ * Reordered render passes so that unlit objects are rendered _after_ lit objects.
34
+
35
+
36
+
1
37
  * 1.1.0 *
2
38
 
3
39
  * If a mesh #init method does not specify any vertex normals for the mesh, and
data/Rakefile CHANGED
@@ -47,6 +47,40 @@ class Development < Jax::Application
47
47
  end
48
48
 
49
49
 
50
+ desc "list all TODO items"
51
+ task :todo do
52
+ (Dir['src/**/*'] + Dir['lib/**/*']).each do |fi|
53
+ if File.file?(fi) && fi != 'lib/jax/generators/app/templates/public/javascripts/jax.js'
54
+ system("grep -Hni 'todo' '#{fi}'")
55
+ end
56
+ end
57
+ end
58
+
59
+ desc "list all FIXME items"
60
+ task :fixme do
61
+ (Dir['src/**/*'] + Dir['lib/**/*']).each do |fi|
62
+ if File.file?(fi) && fi != 'lib/jax/generators/app/templates/public/javascripts/jax.js'
63
+ system("grep -Hni 'fixme' '#{fi}'")
64
+ end
65
+ end
66
+ end
67
+
68
+ desc "list all HACK items"
69
+ task :hacks do
70
+ (Dir['src/**/*'] + Dir['lib/**/*']).each do |fi|
71
+ if File.file?(fi) && fi != 'lib/jax/generators/app/templates/public/javascripts/jax.js'
72
+ system("grep -Hni 'hack' '#{fi}'")
73
+ end
74
+ end
75
+ end
76
+
77
+ desc "list all flagged items"
78
+ task :flagged do
79
+ Rake::Task['todo'].invoke
80
+ Rake::Task['fixme'].invoke
81
+ Rake::Task['hacks'].invoke
82
+ end
83
+
50
84
  desc "compile Jax"
51
85
  task :compile do
52
86
  # generate constants file