v0.3.0 API Reference
PhysicsShapeProxy.h
1//
2// PhysicsShapeProxy.h
3// avara3d
4//
5// Created by Morgan Davis on 11/13/23.
6// Copyright © 2026 Morgan K Davis. All rights reserved.
7//
8
9#ifndef AVARA3D_PHYSICS_PROXY_PHYSICSSHAPEPROXY_H
10#define AVARA3D_PHYSICS_PROXY_PHYSICSSHAPEPROXY_H
11
12namespace a3d {
13
14class PhysicsShape;
15
16class PhysicsShapeProxy {
17
18public:
19 // [Internal Lifecycle Functions]
20
21 explicit PhysicsShapeProxy(PhysicsShape& shape);
22
23 PhysicsShapeProxy(const PhysicsShapeProxy&) = delete;
24 PhysicsShapeProxy& operator=(const PhysicsShapeProxy&) = delete;
25
26 PhysicsShapeProxy(PhysicsShapeProxy&&) = delete;
27 PhysicsShapeProxy& operator=(PhysicsShapeProxy&&) = delete;
28
29 virtual ~PhysicsShapeProxy() = 0;
30
31 // [Internal Member Functions]
32
33 virtual float margin() const = 0;
34 virtual void margin(float margin) = 0;
35};
36
37} // namespace a3d
38
39#endif // AVARA3D_PHYSICS_PROXY_PHYSICSSHAPEPROXY_H