\doxysection{EPhysics}
\hypertarget{group__EPhysics}{}\label{group__EPhysics}\index{EPhysics@{EPhysics}}


Physics simulation integration and visual effects.  


\doxysubsubsection*{Topics}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__EPhysics__Quaternion}{EPhysics Quaternion}}
\begin{DoxyCompactList}\small\item\em \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__EPhysics__Shape}{EPhysics Shape}}
\begin{DoxyCompactList}\small\item\em \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__EPhysics__Camera}{EPhysics Camera}}
\begin{DoxyCompactList}\small\item\em \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__EPhysics__World}{EPhysics World}}
\begin{DoxyCompactList}\small\item\em \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__EPhysics__Body}{EPhysics Body}}
\begin{DoxyCompactList}\small\item\em \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__EPhysics__Constraint}{EPhysics Constraint}}
\begin{DoxyCompactList}\small\item\em \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI int \mbox{\hyperlink{group__EPhysics_gaca8fc170d73b3f688349cc4dbaf219fd}{ephysics\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initialize EPhysics. \end{DoxyCompactList}\item 
EAPI int \mbox{\hyperlink{group__EPhysics_ga07e695074fb4d5d125b36c3a1d963f49}{ephysics\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shutdown EPhysics. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Physics simulation integration and visual effects. 

Physics simulation integration and visual effects. 

\doxysubsection{Function Documentation}
\Hypertarget{group__EPhysics_gaca8fc170d73b3f688349cc4dbaf219fd}\label{group__EPhysics_gaca8fc170d73b3f688349cc4dbaf219fd} 
\index{EPhysics@{EPhysics}!ephysics\_init@{ephysics\_init}}
\index{ephysics\_init@{ephysics\_init}!EPhysics@{EPhysics}}
\doxysubsubsection{\texorpdfstring{ephysics\_init()}{ephysics\_init()}}
{\footnotesize\ttfamily EAPI int ephysics\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initialize EPhysics. 

Initializes Bullet physics engine.

\begin{DoxyReturn}{Returns}
The init counter value.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\doxylink{group__EPhysics_ga07e695074fb4d5d125b36c3a1d963f49}{ephysics\+\_\+shutdown()}. 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ephysics_logo_8c-example}{ephysics\+\_\+logo.\+c}}, \mbox{\hyperlink{test_bouncing_ball_8c-example}{test\+\_\+bouncing\+\_\+ball.\+c}}, \mbox{\hyperlink{test_bouncing_text_8c-example}{test\+\_\+bouncing\+\_\+text.\+c}}, \mbox{\hyperlink{test_camera_8c-example}{test\+\_\+camera.\+c}}, \mbox{\hyperlink{test_camera_track_8c-example}{test\+\_\+camera\+\_\+track.\+c}}, \mbox{\hyperlink{test_collision_detection_8c-example}{test\+\_\+collision\+\_\+detection.\+c}}, \mbox{\hyperlink{test_collision_filter_8c-example}{test\+\_\+collision\+\_\+filter.\+c}}, \mbox{\hyperlink{test_constraint_8c-example}{test\+\_\+constraint.\+c}}, \mbox{\hyperlink{test_delete_8c-example}{test\+\_\+delete.\+c}}, \mbox{\hyperlink{test_forces_8c-example}{test\+\_\+forces.\+c}}, \mbox{\hyperlink{test_growing_balls_8c-example}{test\+\_\+growing\+\_\+balls.\+c}}, \mbox{\hyperlink{test_no_gravity_8c-example}{test\+\_\+no\+\_\+gravity.\+c}}, \mbox{\hyperlink{test_rotating_forever_8c-example}{test\+\_\+rotating\+\_\+forever.\+c}}, \mbox{\hyperlink{test_shapes_8c-example}{test\+\_\+shapes.\+c}}, \mbox{\hyperlink{test_sleeping_threshold_8c-example}{test\+\_\+sleeping\+\_\+threshold.\+c}}, \mbox{\hyperlink{test_slider_8c-example}{test\+\_\+slider.\+c}}, and \mbox{\hyperlink{test_velocity_8c-example}{test\+\_\+velocity.\+c}}.\end{Desc}
\Hypertarget{group__EPhysics_ga07e695074fb4d5d125b36c3a1d963f49}\label{group__EPhysics_ga07e695074fb4d5d125b36c3a1d963f49} 
\index{EPhysics@{EPhysics}!ephysics\_shutdown@{ephysics\_shutdown}}
\index{ephysics\_shutdown@{ephysics\_shutdown}!EPhysics@{EPhysics}}
\doxysubsubsection{\texorpdfstring{ephysics\_shutdown()}{ephysics\_shutdown()}}
{\footnotesize\ttfamily EAPI int ephysics\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shutdown EPhysics. 

Shutdown Bullet physics engine. If init count reaches 0, all the existing worlds will be deleted, and consequently all the bodies.

\begin{DoxyReturn}{Returns}
EPhysics\textquotesingle{} init counter value.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\doxylink{group__EPhysics_gaca8fc170d73b3f688349cc4dbaf219fd}{ephysics\+\_\+init()}. 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ephysics_logo_8c-example}{ephysics\+\_\+logo.\+c}}, \mbox{\hyperlink{test_camera_8c-example}{test\+\_\+camera.\+c}}, \mbox{\hyperlink{test_camera_track_8c-example}{test\+\_\+camera\+\_\+track.\+c}}, \mbox{\hyperlink{test_collision_detection_8c-example}{test\+\_\+collision\+\_\+detection.\+c}}, \mbox{\hyperlink{test_delete_8c-example}{test\+\_\+delete.\+c}}, \mbox{\hyperlink{test_growing_balls_8c-example}{test\+\_\+growing\+\_\+balls.\+c}}, and \mbox{\hyperlink{test_velocity_8c-example}{test\+\_\+velocity.\+c}}.\end{Desc}
\input{group__EPhysics__Quaternion}
\input{group__EPhysics__Shape}
\input{group__EPhysics__Camera}
\input{group__EPhysics__World}
\input{group__EPhysics__Body}
\input{group__EPhysics__Constraint}
