This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_parseBindMaterial : (parent, el) -> | |
for child in el.childNodes when child.nodeType is 1 | |
switch child.nodeName | |
when "technique_common" then @_parseBindMaterialTechnique parent, child | |
else @_reportUnexpectedChild el, child |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ColladaFile.prototype._parseBindMaterial = function(parent, el) { | |
for (var i = 0; i < el.childNodes.length; i++) { | |
var child = el.childNodes[i]; | |
if (child.nodeType === 1) { | |
switch (child.nodeName) { | |
case "technique_common": | |
this._parseBindMaterialTechnique(parent, child); | |
break; | |
default: | |
this._reportUnexpectedChild(el, child); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
#include <fstream> | |
#include <iostream> | |
#include <sstream> | |
#include <vector> | |
#include <iomanip> | |
typedef unsigned char data_t; | |
template <typename T> |