[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11820] branches/soc-2007-red_fox/source/ blender/blenkernel/BKE_bmesh.h: Found and fixed some more spikes
Levi Schooley
redfox at hhofministries.org
Sat Aug 25 06:22:20 CEST 2007
Revision: 11820
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11820
Author: red_fox
Date: 2007-08-25 06:22:20 +0200 (Sat, 25 Aug 2007)
Log Message:
-----------
Found and fixed some more spikes
Missed some float comparison errors. Some spikes were showing
up for really skinny faces. Those should be fixed now.
Levi
Modified Paths:
--------------
branches/soc-2007-red_fox/source/blender/blenkernel/BKE_bmesh.h
Modified: branches/soc-2007-red_fox/source/blender/blenkernel/BKE_bmesh.h
===================================================================
--- branches/soc-2007-red_fox/source/blender/blenkernel/BKE_bmesh.h 2007-08-24 21:52:56 UTC (rev 11819)
+++ branches/soc-2007-red_fox/source/blender/blenkernel/BKE_bmesh.h 2007-08-25 04:22:20 UTC (rev 11820)
@@ -209,12 +209,14 @@
float co[3]; /* the original coordinate */
float org[3]; /* the origin */
float vec[3]; /* a directional vector; always, always normalize! */
- void *loc; /* a pointer to the data to transform */
+ void *loc; /* a pointer to the data to transform (likely the vert's cos) */
float factor; /* primary scaling factor; also accumulates number of weighted edges for beveling tool */
float weight; /* another scaling factor; used primarily for propogating vertex weights to transforms; */
/* weight is also used across recursive bevels to help with the math */
float maxfactor; /* the unscaled, original factor (used only by "edge verts" in recursive beveling) */
- float max; /* the maximum distance this vert can be transformed; negative is infinite */
+ float max; /* the maximum distance this vert can be transformed; negative is infinite
+ * it points to the "parent" maxfactor (where maxfactor makes little sense)
+ * where the max limit is stored (limits are stored per-corner) */
} BME_TransData;
typedef struct BME_TransData_Head {
More information about the Bf-blender-cvs
mailing list