@interface MaplySun : NSObject
class MaplySun : NSObject
Utility for calculating sun position and shading info.
This is a utility class that figures out where the sun is at a given date and provides positional information for lighting calculations.
Initialize with a date.
Initialize with the given date. The sun position will correspond to that.
- (nonnull instancetype)initWithDate:(NSDate *_Nonnull)date;