You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
578 B
24 lines
578 B
1 year ago
|
//
|
||
|
// Constants.m
|
||
|
// CameraWithAVFoundation
|
||
|
//
|
||
|
// Created by Christopher Cohen on 1/29/15.
|
||
|
// Copyright (c) 2015 Gabriel Alvarado. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "Constants.h"
|
||
|
|
||
|
@implementation Constants
|
||
|
|
||
|
CameraStatistics cameraStatisticsMake(float aperture, float exposureDuration, float ISO, float lensPostion) {
|
||
|
CameraStatistics cameraStatistics;
|
||
|
cameraStatistics.aperture = aperture;
|
||
|
cameraStatistics.exposureDuration = exposureDuration;
|
||
|
cameraStatistics.ISO = ISO;
|
||
|
cameraStatistics.lensPosition = lensPostion;
|
||
|
return cameraStatistics;
|
||
|
}
|
||
|
|
||
|
|
||
|
@end
|