OpenSubdiv: Refactor, move topology refiner factory to topology folder

This commit is contained in:
Sergey Sharybin 2020-05-19 09:26:22 +02:00
parent 67fe31d751
commit c81a5f58f8
4 changed files with 7 additions and 7 deletions

View File

@ -64,17 +64,17 @@ if(WITH_OPENSUBDIV)
# Topology.
internal/topology/topology_refiner_capi.cc
internal/topology/topology_refiner_factory.cc
internal/topology/topology_refiner_factory.h
internal/topology/topology_refiner_impl.cc
internal/topology/topology_refiner_impl.h
internal/opensubdiv.cc
internal/opensubdiv_converter_factory.cc
internal/opensubdiv_converter_internal.cc
internal/opensubdiv_evaluator.cc
internal/opensubdiv_evaluator_internal.cc
internal/opensubdiv_util.cc
internal/opensubdiv_converter_factory.h
internal/opensubdiv_converter_internal.h
internal/opensubdiv_edge_map.h
internal/opensubdiv_evaluator_internal.h

View File

@ -19,11 +19,11 @@
#include "opensubdiv_topology_refiner_capi.h"
#include "MEM_guardedalloc.h"
#include "internal/opensubdiv_converter_factory.h"
#include "internal/opensubdiv_converter_internal.h"
#include "internal/opensubdiv_edge_map.h"
#include "internal/opensubdiv_internal.h"
#include "internal/opensubdiv_util.h"
#include "internal/topology/topology_refiner_factory.h"
#include "internal/topology/topology_refiner_impl.h"
using blender::opensubdiv::vector;

View File

@ -20,7 +20,7 @@
# include <iso646.h>
#endif
#include "internal/opensubdiv_converter_factory.h"
#include "internal/topology/topology_refiner_factory.h"
#include <cassert>
#include <cstdio>

View File

@ -16,8 +16,8 @@
//
// Author: Sergey Sharybin
#ifndef OPENSUBDIV_CONVERTER_FACTORY_H_
#define OPENSUBDIV_CONVERTER_FACTORY_H_
#ifndef OPENSUBDIV_TOPOLOGY_REFINER_FACTORY_H_
#define OPENSUBDIV_TOPOLOGY_REFINER_FACTORY_H_
#ifdef _MSC_VER
# include <iso646.h>
@ -36,4 +36,4 @@ OpenSubdiv::Far::TopologyRefiner *createOSDTopologyRefinerFromConverter(
} // namespace opensubdiv
} // namespace blender
#endif // OPENSUBDIV_CONVERTER_FACTORY_H_
#endif // OPENSUBDIV_TOPOLOGY_REFINER_FACTORY_H_