// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // clang-format off #include "stdafx.h" // clang-format on #include #include #include namespace frantic { namespace geometry { polymesh3_ptr trimesh3_to_polymesh3( const trimesh3& inMesh ) { // its simpler to just use the existing method std::unique_ptr reference( trimesh3_interface::create_instance( &inMesh ) ); return create_polymesh3( reference.get() ); } } // namespace geometry } // namespace frantic