wavefront 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1abfac6a3055386991b773c7a6ed97aa9cf27da5
4
- data.tar.gz: 6f4695eb37e5c8e6d81a60479499490ffe0fe229
3
+ metadata.gz: f8484cb51cc86eb14a76995b6dd338c0b799bca8
4
+ data.tar.gz: 2283f2ff5bce61c0eb89eb4a8a2027669dc7abe5
5
5
  SHA512:
6
- metadata.gz: 8f959255768d603f2873937825ddea431e2c3c568e7fdd19861a333f2a147d51a27dba32f32687e419ce1d1368cf6050e6f14a17b140974fc4a59421a44d3d5d
7
- data.tar.gz: 9b10d8bdff882d9870db8046db05f0e266dc42b18e23f13d4f72d90bb79b996f0d844f0cd757df48bdf8990cad2c76dc49e1e14d28f327770a8d98b59b0f2db9
6
+ metadata.gz: 296feea5c789d02bd634e97aa345aebe9042d3b8c2cc5a3734bb977962a8470a94e59277edf75bc7407a98d28dc3537bca9e0251e86cb3c1036582c8760362e7
7
+ data.tar.gz: 879670a82ec8a9ea7f8a8db5f62f5e50dfbdd9b76b5d8e741efcc18368a84204d197d8d4ff3c7b164f110d456f09315fa8fb0ffc9a66327613ee99bab02235b4
@@ -1,3 +1,3 @@
1
1
  module Wavefront
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -1,6 +1,7 @@
1
1
  module Wavefront
2
2
  class Vertex
3
- attr_reader :position, :tex, :normal, :position_index, :texture_index, :normal_index
3
+ attr_reader :position, :uv, :normal, :position_index, :texture_index, :normal_index
4
+ alias :tex :uv
4
5
 
5
6
  def initialize p, uv, n, p_index, t_index, n_index
6
7
  raise "cannot initialize vertex without a position!" if p.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wavefront
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Misha Conway