Skip to content

Conversation

@doerrdude
Copy link

@doerrdude doerrdude commented Oct 11, 2018

Added a convenience initializer for TerrainNode class to generate terrain along a center coordinate point. Area is defined by the distance measured in km from the center coordinate point.

@doerrdude doerrdude requested review from avi-c and jim-martin October 11, 2018 16:19
northEastCorner: CLLocation(latitude: maxLat, longitude: maxLon))
}

@objc public convenience init(lat: CLLocationDegrees, lon: CLLocationDegrees, distanceInKm: Double ) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to maybe have the center coordinate as a CLLocation rather than having it as latitude and longitude?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants