Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98111017
scene.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jan 9, 21:48
Size
735 B
Mime Type
text/x-c
Expires
Sat, Jan 11, 21:48 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23506953
Attached To
rSYMKIT symkit
scene.h
View Options
#ifndef __SCENE_H__
#define __SCENE_H__
#include <vector>
class
Shape
;
using
namespace
std
;
//extern list<Shape*> shapelist;
namespace
scene
{
/* Init function for the symulation scene */
void
initialize
();
/* Safely close the symulation scene */
void
close
();
/* Get all components */
vector
<
Shape
*>&
getAll
(
vector
<
Shape
*>&
);
/* Registers a object into the graphics engine (OpenGL) */
void
registerObj
(
Shape
*
);
/* Unregister a object which is in the graphics engine (OpenGL) */
void
unregisterObj
(
Shape
*
);
/* Unregister all object */
void
unregisterAll
();
/* Update the entire scene, called every frame */
void
update
(
const
float
*
dt
=
0
);
}
#endif
Event Timeline
Log In to Comment