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 +4 -4
- data/lib/wavefront/version.rb +1 -1
- data/lib/wavefront/vertex.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8484cb51cc86eb14a76995b6dd338c0b799bca8
|
4
|
+
data.tar.gz: 2283f2ff5bce61c0eb89eb4a8a2027669dc7abe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 296feea5c789d02bd634e97aa345aebe9042d3b8c2cc5a3734bb977962a8470a94e59277edf75bc7407a98d28dc3537bca9e0251e86cb3c1036582c8760362e7
|
7
|
+
data.tar.gz: 879670a82ec8a9ea7f8a8db5f62f5e50dfbdd9b76b5d8e741efcc18368a84204d197d8d4ff3c7b164f110d456f09315fa8fb0ffc9a66327613ee99bab02235b4
|
data/lib/wavefront/version.rb
CHANGED
data/lib/wavefront/vertex.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Wavefront
|
2
2
|
class Vertex
|
3
|
-
attr_reader :position, :
|
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?
|