[ios, macos] Fix MGLSphericalPosition.radial misleading type.

This commit is contained in:
Fabian Guerra
2017-06-12 11:30:53 -04:00
committed by Fabian Guerra Soto
parent e59766f4e8
commit 87a05b29c9

View File

@@ -20,7 +20,7 @@ typedef NS_ENUM(NSUInteger, MGLLightAnchor) {
*/
typedef struct MGLSphericalPosition {
/** Distance from the center of the base of an object to its light. */
CLLocationDistance radial;
CGFloat radial;
/** Position of the light relative to 0° (0° when `MGLLight.anchor` is set to viewport corresponds
to the top of the viewport, or 0° when `MGLLight.anchor` is set to map corresponds to due north,
and degrees proceed clockwise). */