Changeset 240 for cpp/frams/vm/classes/3dobject.cpp
- Timestamp:
- 04/30/14 20:25:32 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/vm/classes/3dobject.cpp
r229 r240 26 26 {"sub",0,PARAM_NOSTATIC,"subtract","p(oXYZ)",PROCEDURE(p_subvec),"Note: it does not return a new object, just modifies the existing one"}, 27 27 {"scale",0,PARAM_NOSTATIC,"multiply by scalar","p(f)",PROCEDURE(p_scale),}, 28 {"length",0,PARAM_READONLY +PARAM_NOSTATIC,"length","f",GETONLY(length),},28 {"length",0,PARAM_READONLY | PARAM_NOSTATIC,"length","f",GETONLY(length),}, 29 29 {"normalize",0,PARAM_NOSTATIC,"normalize","p()",PROCEDURE(p_normalize),"scales the vector length to 1.0"}, 30 {"toString",0,PARAM_READONLY +PARAM_NOSTATIC,"textual form","s",GETONLY(toString),},31 {"toVector",0,PARAM_READONLY +PARAM_NOSTATIC,"vector of [x,y,z]","oVector",GETONLY(toVector),},30 {"toString",0,PARAM_READONLY | PARAM_NOSTATIC,"textual form","s",GETONLY(toString),}, 31 {"toVector",0,PARAM_READONLY | PARAM_NOSTATIC,"vector of [x,y,z]","oVector",GETONLY(toVector),}, 32 32 {"rotate",0,PARAM_NOSTATIC,"rotate using Orient object","p(oOrient)",PROCEDURE(p_rotate),}, 33 33 {"revRotate",0,PARAM_NOSTATIC,"reverse rotate using Orient object","p(oOrient)",PROCEDURE(p_revrotate),}, … … 229 229 {"zz",1,PARAM_NOSTATIC,"orientation.z.z","f",FIELD(o.z.z),}, 230 230 231 {"x",0,PARAM_NOSTATIC +PARAM_READONLY,"x vector","oXYZ",GETONLY(x),},232 {"y",0,PARAM_NOSTATIC +PARAM_READONLY,"y vector","oXYZ",GETONLY(y),},233 {"z",0,PARAM_NOSTATIC +PARAM_READONLY,"z vector","oXYZ",GETONLY(z),},231 {"x",0,PARAM_NOSTATIC | PARAM_READONLY,"x vector","oXYZ",GETONLY(x),}, 232 {"y",0,PARAM_NOSTATIC | PARAM_READONLY,"y vector","oXYZ",GETONLY(y),}, 233 {"z",0,PARAM_NOSTATIC | PARAM_READONLY,"z vector","oXYZ",GETONLY(z),}, 234 234 235 235 {"new",0,0,"create new Orient object","p oOrient()",PROCEDURE(p_new),}, 236 236 {"newFromVector",0,0,"create new Orient object","p oOrient(oVector)",PROCEDURE(p_newFromVector),}, 237 {"toVector",0,PARAM_READONLY +PARAM_NOSTATIC,"vector representation","oVector",GETONLY(toVector),"for serialization"},237 {"toVector",0,PARAM_READONLY | PARAM_NOSTATIC,"vector representation","oVector",GETONLY(toVector),"for serialization"}, 238 238 {"clone",0,PARAM_NOSTATIC,"create new Orient object","p oOrient()",PROCEDURE(p_clone),}, 239 239 {"set",0,PARAM_NOSTATIC,"copy from another Orient object","p(oOrient)",PROCEDURE(p_set),}, … … 470 470 {"newO",0,0,"create new reference","p",PROCEDURE(p_newO),"(for internal use only) use &variablename to create Ref objects.",}, 471 471 {"copyFrom",0,0,"copy the reference","p(oRef)",PROCEDURE(p_copyFrom),"make the reference point to the same target,"}, 472 {"toString",0,PARAM_READONLY +PARAM_NOSTATIC,"textual form","s",GETONLY(toString),},472 {"toString",0,PARAM_READONLY | PARAM_NOSTATIC,"textual form","s",GETONLY(toString),}, 473 473 {0,0,0,}, 474 474 };
Note: See TracChangeset
for help on using the changeset viewer.