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
| zoox::unique_ptr<FRawMesh> ReadPly(ByteBuffer const & buffer) | |
| { | |
| // read the header | |
| constexpr auto header = | |
| "ply\n\n" | |
| "format binary_little_endian 1.0\n" | |
| "comment This contains a Splatted Point Cloud\n" | |
| "element vertex %d\n" | |
| "property float x\n" | |
| "property float y\n" |
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
| bool isEqual(YAML::Node const &lhs, YAML::Node const &rhs) { | |
| if (lhs == rhs) { | |
| return true; | |
| } | |
| YAML::NodeType::value lhs_type = lhs.Type(); | |
| if (lhs_type != rhs.Type()) { | |
| return false; | |
| } |
NewerOlder