Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_modifier_types.h
| Show First 20 Lines • Show All 1,857 Lines • ▼ Show 20 Lines | enum { | ||||
| MOD_LAPLACIANSMOOTH_Y = (1 << 2), | MOD_LAPLACIANSMOOTH_Y = (1 << 2), | ||||
| MOD_LAPLACIANSMOOTH_Z = (1 << 3), | MOD_LAPLACIANSMOOTH_Z = (1 << 3), | ||||
| MOD_LAPLACIANSMOOTH_PRESERVE_VOLUME = (1 << 4), | MOD_LAPLACIANSMOOTH_PRESERVE_VOLUME = (1 << 4), | ||||
| MOD_LAPLACIANSMOOTH_NORMALIZED = (1 << 5), | MOD_LAPLACIANSMOOTH_NORMALIZED = (1 << 5), | ||||
| MOD_LAPLACIANSMOOTH_INVERT_VGROUP = (1 << 6), | MOD_LAPLACIANSMOOTH_INVERT_VGROUP = (1 << 6), | ||||
| }; | }; | ||||
| typedef struct CorrectiveSmoothDeltaCache { | typedef struct CorrectiveSmoothDeltaCache { | ||||
| /* delta's between the original positions and the smoothed positions */ | /** | ||||
| * Delta's between the original positions and the smoothed positions, | |||||
| * calculated loop-tangent and which is accumulated into the vertex it uses. | |||||
| * (run-time only). | |||||
| */ | |||||
| float (*deltas)[3]; | float (*deltas)[3]; | ||||
| unsigned int totverts; | unsigned int deltas_num; | ||||
| /* Value of settings when creating the cache. | /* Value of settings when creating the cache. | ||||
| * These are used to check if the cache should be recomputed. */ | * These are used to check if the cache should be recomputed. */ | ||||
| float lambda, scale; | float lambda, scale; | ||||
| short repeat, flag; | short repeat, flag; | ||||
| char smooth_type, rest_source; | char smooth_type, rest_source; | ||||
| char _pad[6]; | char _pad[6]; | ||||
| } CorrectiveSmoothDeltaCache; | } CorrectiveSmoothDeltaCache; | ||||
| ▲ Show 20 Lines • Show All 511 Lines • Show Last 20 Lines | |||||