diff --git a/opensubdiv/far/subdivisionTables.h b/opensubdiv/far/subdivisionTables.h index b82b979a..21e89cad 100644 --- a/opensubdiv/far/subdivisionTables.h +++ b/opensubdiv/far/subdivisionTables.h @@ -151,14 +151,7 @@ public: /// subdivision scheme. virtual int GetNumTables() const { return 5; } -protected: - template friend class FarMeshFactory; - - FarSubdivisionTables( FarMesh * mesh, int maxlevel ); - - // Returns an integer based on the order in which the kernels are applied - static int getMaskRanking( unsigned char mask0, unsigned char mask1 ); - + /// Made public as required by bilinearSubdivisionTablesFactory struct VertexKernelBatch { int kernelF; // number of face vertices int kernelE; // number of edge vertices @@ -197,6 +190,14 @@ protected: } }; +protected: + template friend class FarMeshFactory; + + FarSubdivisionTables( FarMesh * mesh, int maxlevel ); + + // Returns an integer based on the order in which the kernels are applied + static int getMaskRanking( unsigned char mask0, unsigned char mask1 ); + // Returns the range of vertex indices of each of the 3 batches of VertexPoint // compute Kernels (kernel application order is : B / A / A) std::vector & getKernelBatches() const { return _batches; }