Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/draco/src/draco/mesh/mesh.cc
- This file was moved from extern/draco/dracoenc/src/draco/mesh/mesh.cc.
| Show All 9 Lines | |||||
| // distributed under the License is distributed on an "AS IS" BASIS, | // distributed under the License is distributed on an "AS IS" BASIS, | ||||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| // See the License for the specific language governing permissions and | // See the License for the specific language governing permissions and | ||||
| // limitations under the License. | // limitations under the License. | ||||
| // | // | ||||
| #include "draco/mesh/mesh.h" | #include "draco/mesh/mesh.h" | ||||
| #include <array> | #include <array> | ||||
| #include <unordered_map> | |||||
| namespace draco { | namespace draco { | ||||
| using std::unordered_map; | |||||
| // Shortcut for typed conditionals. | // Shortcut for typed conditionals. | ||||
| template <bool B, class T, class F> | template <bool B, class T, class F> | ||||
| using conditional_t = typename std::conditional<B, T, F>::type; | using conditional_t = typename std::conditional<B, T, F>::type; | ||||
| Mesh::Mesh() {} | Mesh::Mesh() {} | ||||
| #ifdef DRACO_ATTRIBUTE_INDICES_DEDUPLICATION_SUPPORTED | #ifdef DRACO_ATTRIBUTE_INDICES_DEDUPLICATION_SUPPORTED | ||||
| void Mesh::ApplyPointIdDeduplication( | void Mesh::ApplyPointIdDeduplication( | ||||
| Show All 12 Lines | |||||