Sha256: 38b8e417b3e9bdc8ca147287250b4fcf6559afde3b9b4468275bccb74f73c8c5
Contents?: true
Size: 891 Bytes
Versions: 4
Compression:
Stored size: 891 Bytes
Contents
// // B2DChainShape.h // Box2D // // Created by Juan Jose Karam on 6/15/13. // Copyright (c) 2013 Joybox. All rights reserved. // #import <Foundation/Foundation.h> #import "B2DShape.h" @class B2DEdgeShape; @interface B2DChainShape : B2DShape @property (nonatomic, assign, readonly) NSInteger vertexCount; @property (nonatomic, assign, readonly) CGPoint *vertices; @property (nonatomic, assign, readonly) bool hasPreviousVertex; @property (nonatomic, assign, readonly) bool hasNextVertex; - (void)createLoopWithVertices:(CGPoint *)vertices andVertexCount:(NSInteger)vertexCount; - (void)createChainWithVertices:(CGPoint *)vertices andVertexCount:(NSInteger)vertexCount; - (CGPoint)previousVertex; - (void)setPreviousVertex:(CGPoint)vertex; - (CGPoint)nextVertex; - (void)setNextVertex:(CGPoint)vertex; - (void)getChildEdge:(B2DEdgeShape *)edgeShape withIndex:(NSInteger)index; @end
Version data entries
4 entries across 2 versions & 1 rubygems