Avara3D
0.2.0
C++ API reference
InfinitePlanePhysicsShape.h
1
//
2
// InfinitePlanePhysicsShape.h
3
// avara3d
4
//
5
// Created by Morgan Davis on 8/8/26.
6
// Copyright © 2026 Morgan K Davis. All rights reserved.
7
//
8
9
#ifndef AVARA3D_PHYSICS_SHAPE_PRIMITIVE_INFINITEPLANEPHYSICSSHAPE_H
10
#define AVARA3D_PHYSICS_SHAPE_PRIMITIVE_INFINITEPLANEPHYSICSSHAPE_H
11
12
#include "a3d/physics/shape/PhysicsShape.h"
13
14
namespace
a3d {
15
21
class
InfinitePlanePhysicsShape
:
public
PhysicsShape
{
22
23
public
:
24
// [Public Lifecycle Functions]
25
27
InfinitePlanePhysicsShape
();
28
29
// [Public PhysicsShape Member Functions]
30
32
Type
type
()
const override
;
33
39
void
type
(
Type
type
)
override
;
40
41
// [PhysicsShape Internal Member Functions]
42
43
bool
supportsBodyType(
PhysicsBody::Type
type
)
const override
;
44
};
45
46
}
47
48
#endif
// AVARA3D_PHYSICS_SHAPE_PRIMITIVE_INFINITEPLANEPHYSICSSHAPE_H
a3d::InfinitePlanePhysicsShape
Infinite collision plane through the local origin with normal along +Z.
Definition:
InfinitePlanePhysicsShape.h:21
a3d::InfinitePlanePhysicsShape::type
Type type() const override
Returns PhysicsShape::Type::Primitive.
a3d::InfinitePlanePhysicsShape::type
void type(Type type) override
Rejects attempts to change the fixed primitive shape type.
a3d::InfinitePlanePhysicsShape::InfinitePlanePhysicsShape
InfinitePlanePhysicsShape()
Creates an infinite collision plane through the local XY plane.
a3d::PhysicsBody::Type
Type
Determines how a rigid body participates in simulation.
Definition:
PhysicsBody.h:45
a3d::PhysicsShape
Describes collision geometry used by one or more PhysicsBody objects.
Definition:
PhysicsShape.h:37
a3d::PhysicsShape::Type
Type
Collision-geometry representation requested for a PhysicsShape.
Definition:
PhysicsShape.h:43
a3d
physics
shape
primitive
InfinitePlanePhysicsShape.h
Generated by
1.9.4