- Timestamp:
- Jan 20, 2011, 5:38:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-api/js/ZOO-api.js
r85 r86 5948 5948 * rotation - {Float} original angle of rotation, in degrees. 5949 5949 */ 5950 OpenLayers.Geometry.Polygon.createRegularPolygon = function(origin, radius, sides, rotation) {5950 ZOO.Geometry.Polygon.createRegularPolygon = function(origin, radius, sides, rotation) { 5951 5951 var angle = Math.PI * ((1/sides) - (1/2)); 5952 5952 if(rotation) {
Note: See TracChangeset
for help on using the changeset viewer.