Sha256: 0ca8acae072848316a795864f7db00a6ca147c9c98324250a07dec6b8b47ec9b

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

//
//  B2DFixture.h
//  Box2D
//
//  Created by Juan Jose Karam on 6/8/13.
//  Copyright (c) 2013 Joybox. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "B2DShapeTypes.h"

@class B2DShape;
@class B2DFilter;
@class B2DBody;
@class B2DRayCastOutput;
@class B2DRayCastInput;
@class B2DMassData;
@class B2DAABB;

@interface B2DFixture : NSObject {
  
  b2Fixture *fixture;
}

@property (nonatomic, assign) b2Fixture *fixture;
@property (nonatomic, assign, readonly) B2DShapeTypes type;
@property (nonatomic, assign, readonly) B2DShape *shape;
@property (nonatomic, assign, readonly) bool isSensor;
@property (nonatomic, assign) bool sensor;
@property (nonatomic, assign) B2DFilter *filterData;
@property (nonatomic, assign, readonly) B2DBody *body;
@property (nonatomic, assign) id userData;
@property (nonatomic, assign) CGFloat density;
@property (nonatomic, assign) CGFloat friction;
@property (nonatomic, assign) CGFloat restitution;


- (id)initWithFixture:(b2Fixture *)boxFixture;
- (void)refilter;
- (B2DFixture *)next;
- (bool)testPoint:(CGPoint)point;
- (bool)rayCastWithOutput:(B2DRayCastOutput *)output input:(B2DRayCastInput *)input andChildIndex:(NSInteger)childIndex;
- (B2DMassData *)massData;
- (B2DAABB *)aabb:(NSInteger)childIndex;
- (void)dump:(NSInteger)bodyIndex;

@end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
joybox-1.1.1 vendor/vendor-ios/box_2d/box_2d_include/B2DFixture.h
joybox-1.1.1 vendor/vendor-osx/box_2d/box_2d_include/B2DFixture.h
joybox-1.1.0 vendor/vendor-ios/box_2d/box_2d_include/B2DFixture.h
joybox-1.1.0 vendor/vendor-osx/box_2d/box_2d_include/B2DFixture.h