[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11517] trunk/blender/source/blender/ makesdna/DNA_curve_types.h: Added comments documenting a few variables in the DNA_curve_types. h structs

Joshua Leung aligorith at gmail.com
Wed Aug 8 09:14:38 CEST 2007


Revision: 11517
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11517
Author:   aligorith
Date:     2007-08-08 09:14:27 +0200 (Wed, 08 Aug 2007)

Log Message:
-----------
Added comments documenting a few variables in the DNA_curve_types.h structs

Modified Paths:
--------------
    trunk/blender/source/blender/makesdna/DNA_curve_types.h

Modified: trunk/blender/source/blender/makesdna/DNA_curve_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_curve_types.h	2007-08-08 07:00:20 UTC (rev 11516)
+++ trunk/blender/source/blender/makesdna/DNA_curve_types.h	2007-08-08 07:14:27 UTC (rev 11517)
@@ -91,15 +91,15 @@
 typedef struct BezTriple {
 	float vec[3][3];
 	float alfa, weight, radius;	/* alfa: tilt in 3D View, weight: used for softbody goal weight, radius: for bevel tapering */
-	short h1, h2;
-	char f1, f2, f3, hide;
+	short h1, h2; 				/* h1, h2: the handle type of the two handles */
+	char f1, f2, f3, hide;		/* f1, f2, f3: used for selection status,  hide: used to indicate whether BezTriple is hidden */
 } BezTriple;
 
 /* note; alfa location in struct is abused by Key system */
 typedef struct BPoint {
 	float vec[4];
 	float alfa, weight;		/* alfa: tilt in 3D View, weight: used for softbody goal weight */
-	short f1, hide;
+	short f1, hide;			/* f1: selection status,  hide: is point hidden or not */
 	float radius, pad;		/* user-set radius per point for bevelling etc */
 } BPoint;
 





More information about the Bf-blender-cvs mailing list