| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- // ======================================================================== //
- // Copyright 2009-2016 Intel Corporation //
- // //
- // Licensed under the Apache License, Version 2.0 (the "License"); //
- // you may not use this file except in compliance with the License. //
- // You may obtain a copy of the License at //
- // //
- // http://www.apache.org/licenses/LICENSE-2.0 //
- // //
- // Unless required by applicable law or agreed to in writing, software //
- // distributed under the License is distributed on an "AS IS" BASIS, //
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //
- // See the License for the specific language governing permissions and //
- // limitations under the License. //
- // ======================================================================== //
- #cmakedefine EMBREE_RAY_MASK
- #cmakedefine EMBREE_STAT_COUNTERS
- #cmakedefine EMBREE_BACKFACE_CULLING
- #cmakedefine EMBREE_INTERSECTION_FILTER
- #cmakedefine EMBREE_INTERSECTION_FILTER_RESTORE
- #cmakedefine EMBREE_RETURN_SUBDIV_NORMAL
- #cmakedefine EMBREE_IGNORE_INVALID_RAYS
- #cmakedefine EMBREE_GEOMETRY_TRIANGLES
- #cmakedefine EMBREE_GEOMETRY_QUADS
- #cmakedefine EMBREE_GEOMETRY_LINES
- #cmakedefine EMBREE_GEOMETRY_HAIR
- #cmakedefine EMBREE_GEOMETRY_SUBDIV
- #cmakedefine EMBREE_GEOMETRY_USER
- #cmakedefine EMBREE_RAY_PACKETS
- #cmakedefine EMBREE_NATIVE_CURVE_BSPLINE
- #if defined(EMBREE_GEOMETRY_TRIANGLES)
- #define IF_ENABLED_TRIS(x) x
- #else
- #define IF_ENABLED_TRIS(x)
- #endif
- #if defined(EMBREE_GEOMETRY_QUADS)
- #define IF_ENABLED_QUADS(x) x
- #else
- #define IF_ENABLED_QUADS(x)
- #endif
- #if defined(EMBREE_GEOMETRY_LINES)
- #define IF_ENABLED_LINES(x) x
- #else
- #define IF_ENABLED_LINES(x)
- #endif
- #if defined(EMBREE_GEOMETRY_HAIR)
- #define IF_ENABLED_HAIR(x) x
- #else
- #define IF_ENABLED_HAIR(x)
- #endif
- #if defined(EMBREE_GEOMETRY_SUBDIV)
- #define IF_ENABLED_SUBDIV(x) x
- #else
- #define IF_ENABLED_SUBDIV(x)
- #endif
- #if defined(EMBREE_GEOMETRY_USER)
- #define IF_ENABLED_USER(x) x
- #else
- #define IF_ENABLED_USER(x)
- #endif
|