Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/subd/subd_patch.h
| Show All 11 Lines | |||||
| * 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. | ||||
| */ | */ | ||||
| #ifndef __SUBD_PATCH_H__ | #ifndef __SUBD_PATCH_H__ | ||||
| #define __SUBD_PATCH_H__ | #define __SUBD_PATCH_H__ | ||||
| #include "util_boundbox.h" | #include "util/util_boundbox.h" | ||||
| #include "util_types.h" | #include "util/util_types.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| class Patch { | class Patch { | ||||
| public: | public: | ||||
| virtual ~Patch() {} | virtual ~Patch() {} | ||||
| virtual void eval(float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, float u, float v) = 0; | virtual void eval(float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, float u, float v) = 0; | ||||
| virtual BoundBox bound() = 0; | virtual BoundBox bound() = 0; | ||||
| Show All 31 Lines | |||||