#ifndef MODEL_H
#define MODEL_H
#import <raylib.h>
#import <yesmath.h>
#import <yeslib.h>

@interface YSModel : YSObject {
    Model model;
    Texture texture;
@public
    Vector3 pos;
    float scale;
}

-(id) initWithModel: (const char *) path;
-(id) initWithModel: (const char *) mdl_path andTexture: (const char *) tex_path;
-(void) setModel: (const char *) mdl_path;
-(Model) model;
-(Vector3) pos;
-(void) setPos: (Vector3) p;
-(void) setTexture: (const char *) tex_path; 
-(void) dealloc;
-(void) draw;
-(void) drawBoundingBox;

@end

#endif