-/**
- * Constraint to wrap an actor in y that is moving vertically
- */
-Vector3 EqualToPercentageWidthConstraint( const Vector3& current,
- const PropertyInput& percentageProperty,
- const PropertyInput& parentSizeProperty )
-{
- float percentage = percentageProperty.GetFloat();
- const Vector3& parentSize = parentSizeProperty.GetVector3();
-
- Vector3 size( parentSize );
- size.x *= percentage;
-
- return size;
-}
-
-