|
@@ -195,14 +195,6 @@ class Geometry {
|
|
return processVectors("LayerElementNormal", "Normals");
|
|
return processVectors("LayerElementNormal", "Normals");
|
|
}
|
|
}
|
|
|
|
|
|
- public function getTangents( opt = false ) {
|
|
|
|
- return processVectors("LayerElementTangent", "Tangents", opt);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public function getBinormals( opt = false ) {
|
|
|
|
- return processVectors("LayerElementBinormal", "Binormals", opt);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
function processVectors( layer, name, opt = false ) {
|
|
function processVectors( layer, name, opt = false ) {
|
|
var vect = root.get(layer + "." + name, opt);
|
|
var vect = root.get(layer + "." + name, opt);
|
|
if( vect == null ) return null;
|
|
if( vect == null ) return null;
|