Brunot
Loading...
Searching...
No Matches
Physics.cpp File Reference
#include "Physics.h"
#include "Framework/Entity.h"
#include "Transform.h"
#include <cassert>
#include "imgui.h"
Include dependency graph for Physics.cpp:

Functions

auto to_json (json &j, const Physics &p) ->void
auto from_json (const json &j, Physics &p) ->void

Function Documentation

◆ from_json()

auto from_json ( const json & j,
Physics & p )->void

an overload function used everywhere to load objects from a json file

◆ to_json()

auto to_json ( json & j,
const Physics & p )->void

an overload function used everywhere to actually save objects