Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_multires.h
| Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | |||||
| * Corner needs to be known to properly "rotate" partial derivatives when the | * Corner needs to be known to properly "rotate" partial derivatives when the | ||||
| * matrix is being constructed for quad. For non-quad the corner is to be set | * matrix is being constructed for quad. For non-quad the corner is to be set | ||||
| * to 0. */ | * to 0. */ | ||||
| BLI_INLINE void BKE_multires_construct_tangent_matrix(float tangent_matrix[3][3], | BLI_INLINE void BKE_multires_construct_tangent_matrix(float tangent_matrix[3][3], | ||||
| const float dPdu[3], | const float dPdu[3], | ||||
| const float dPdv[3], | const float dPdv[3], | ||||
| const int corner); | const int corner); | ||||
| /* Versioning. */ | |||||
| /* Convert displacement which is stored for simply-subdivided mesh to a Catmull-Clark | |||||
| * subdivided mesh. */ | |||||
| void multires_do_versions_simple_to_catmull_clark(struct Object *object, | |||||
| struct MultiresModifierData *mmd); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #include "intern/multires_inline.h" | #include "intern/multires_inline.h" | ||||