x3dom / apps-modeling

Publicly Available Applications
Other
3 stars 3 forks source link

Extend property tool such that other base types than only SFFloat are possible #29

Closed yjung closed 11 years ago

yjung commented 11 years ago

We can work on a per string basis, as x3dom expects strings anyway for setAttribute. (Moreover, bbox must be updated on param change, too.)

Also, which is related, for the ParamMap, JSON or directly JS would be better suited here, since we need to to define various mapping functions, esp. if types don't match.

yjung commented 11 years ago

Mostly only SFVec2f and SFVec3f

yjung commented 11 years ago

Check for appropriate value ranges, e.g. radius and height >= 0.

menglert11487 commented 11 years ago

added min/max check