| 1776 | |
| 1777 | #include "Physics/physics.h" |
| 1778 | void AttachPhysics(ASContext* context) { |
| 1779 | Physics* physics = Physics::Instance(); |
| 1780 | |
| 1781 | context->RegisterObjectType("Physics", 0, asOBJ_REF | asOBJ_NOHANDLE); |
| 1782 | context->RegisterObjectProperty("Physics", "vec3 gravity_vector", asOFFSET(Physics, gravity)); |
| 1783 | context->DocsCloseBrace(); |
| 1784 | context->RegisterGlobalProperty("Physics physics", physics); |
| 1785 | } |
| 1786 | |
| 1787 | #include "Sound/sound.h" |
| 1788 | static int ASPlaySound(std::string path) { |
no test coverage detected