This file contains hidden or 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
| std::string header = ...; | |
| Variant glb = Variant::parseJSON(header); | |
| glb["meshes"][glb["nodes"][glb["scenes"][0]["nodes"][0]]["mesh"]].printFormatted(); |
This file contains hidden or 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
| // A Generic Min Heap Priority Queue for Unity that uses supplied float values for its ordering. | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class PriorityQueue<T> where T : class{ | |
| struct ValueItem { | |
| public T item; | |
| public float value; | |
| public ValueItem(T i, float v) { |
This file contains hidden or 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
| #ifndef _REGISTRY_H_ | |
| #define _REGISTRY_H_ 1 | |
| #include <iostream> | |
| #include <vector> | |
| #include <tuple> | |
| #include <string> | |
| #include <cstring> | |
| #include <type_traits> | |
| #include <memory> |
OlderNewer