Release 1.0.0

This commit is contained in:
giuseppenuc committed 2015-10-29 01:04:32 +01:00
1 parent 5ecc0d4203
commit 40cdd4eb91
111 files changed
+5910 -1769

No files matched your search

+20 -1
View File
@@ -13,11 +13,20 @@
#include <iostream>
#include <vector>
#import <CoreGraphics/CoreGraphics.h>
#import <objc/NSObjCRuntime.h>
#import <CoreGraphics/CoreGraphics.h>
#import "POPDefines.h"
#if SCENEKIT_SDK_AVAILABLE
#import <SceneKit/SceneKit.h>
#endif
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#endif
#import "POPMath.h"
namespace POP {
@@ -336,6 +345,16 @@ namespace POP {
// CGColorRef support
CGColorRef cg_color() const CF_RETURNS_RETAINED;
static Vector *new_cg_color(CGColorRef color);
#if SCENEKIT_SDK_AVAILABLE
// SCNVector3 support
SCNVector3 scn_vector3() const;
static Vector *new_scn_vector3(const SCNVector3 &vec3);
// SCNVector4 support
SCNVector4 scn_vector4() const;
static Vector *new_scn_vector4(const SCNVector4 &vec4);
#endif
// operator overloads
CGFloat &operator[](size_t i) const {