jax 2.0.10 → 2.0.11
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 +21 -0
 - data/lib/assets/javascripts/jax.js +1 -1
 - data/lib/jax/version.rb +1 -1
 - metadata +4 -4
 
    
        data/CHANGELOG
    CHANGED
    
    | 
         @@ -1,3 +1,24 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            * 2.0.11 *
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            * Use a different shader import name
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              Jax generates GLSL macros to prevent importing one shader
         
     | 
| 
      
 6 
     | 
    
         
            +
              into another more than once.
         
     | 
| 
      
 7 
     | 
    
         
            +
              
         
     | 
| 
      
 8 
     | 
    
         
            +
              Apparently, use of double underscores ("__") in macro names
         
     | 
| 
      
 9 
     | 
    
         
            +
              is reserved in GLSL, even though it seems to work on most
         
     | 
| 
      
 10 
     | 
    
         
            +
              hardware.
         
     | 
| 
      
 11 
     | 
    
         
            +
              
         
     | 
| 
      
 12 
     | 
    
         
            +
              An upcoming release of Chrome has a rewritten ANGLE shader
         
     | 
| 
      
 13 
     | 
    
         
            +
              preprocessor which now enforces this rule, so it's time to
         
     | 
| 
      
 14 
     | 
    
         
            +
              fix Jax -- before the new Chrome goes mainstream.
         
     | 
| 
      
 15 
     | 
    
         
            +
              
         
     | 
| 
      
 16 
     | 
    
         
            +
              Firefox will be receiving this update shortly, as well, and
         
     | 
| 
      
 17 
     | 
    
         
            +
              it applies to all operating systems (not just Windows), so
         
     | 
| 
      
 18 
     | 
    
         
            +
              this is a big problem -- but thankfully, an easy fix.
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
       1 
22 
     | 
    
         
             
            * 2.0.10 *
         
     | 
| 
       2 
23 
     | 
    
         | 
| 
       3 
24 
     | 
    
         
             
            * Resolved an issue with picking where depth testing has failed. Picking would
         
     | 
| 
         @@ -16,7 +16,7 @@ Jax.shaders = {}; 
     | 
|
| 
       16 
16 
     | 
    
         
             
            Jax._shader_data = {};
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         
             
            Jax.import_shader_code = function(shader_name, shader_type) {
         
     | 
| 
       19 
     | 
    
         
            -
              var constant_name = " 
     | 
| 
      
 19 
     | 
    
         
            +
              var constant_name = "IMPORT_"+shader_name+"_"+shader_type;
         
     | 
| 
       20 
20 
     | 
    
         
             
              return "#ifndef "+constant_name+"\n" +
         
     | 
| 
       21 
21 
     | 
    
         
             
                     "#define "+constant_name+" 1\n" +
         
     | 
| 
       22 
22 
     | 
    
         
             
                       Jax.shader_data(shader_name)[shader_type] +
         
     | 
    
        data/lib/jax/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: jax
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.0.11
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2012- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2012-07-19 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: rails
         
     | 
| 
         @@ -743,7 +743,7 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       743 
743 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       744 
744 
     | 
    
         
             
                  segments:
         
     | 
| 
       745 
745 
     | 
    
         
             
                  - 0
         
     | 
| 
       746 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 746 
     | 
    
         
            +
                  hash: 2157176073944903815
         
     | 
| 
       747 
747 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       748 
748 
     | 
    
         
             
              none: false
         
     | 
| 
       749 
749 
     | 
    
         
             
              requirements:
         
     | 
| 
         @@ -752,7 +752,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       752 
752 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       753 
753 
     | 
    
         
             
                  segments:
         
     | 
| 
       754 
754 
     | 
    
         
             
                  - 0
         
     | 
| 
       755 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 755 
     | 
    
         
            +
                  hash: 2157176073944903815
         
     | 
| 
       756 
756 
     | 
    
         
             
            requirements: []
         
     | 
| 
       757 
757 
     | 
    
         
             
            rubyforge_project: jax
         
     | 
| 
       758 
758 
     | 
    
         
             
            rubygems_version: 1.8.24
         
     |