2 * Copyright 2009, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Alexandre Deckner <alex@zappotek.com>
9 #ifndef _MESH_INSTANCE_H
10 #define _MESH_INSTANCE_H
15 #include "Quaternion.h"
20 MeshInstance(Mesh
* mesh
, Texture
* texture
,
21 const Vector3
& position
, const Quaternion
& orientation
,
25 void Update(float dt
);
29 BReference
<Mesh
> fMeshReference
;
30 BReference
<Texture
> fTextureReference
;
33 Quaternion fOrientation
;
36 // TODO: manage the animation externally
44 #endif /* _MESH_INSTANCE_H */