OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
physicmeshshape.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
physics/physics.h
"
4
#include "
physicvbo.h
"
5
6
class
PhysicMeshShape
final {
7
public
:
8
PhysicMeshShape
(
const
PhysicMeshShape
&)=
delete
;
9
10
float
friction
()
const
;
11
12
static
PhysicMeshShape
*
load
(
PackedMesh
&& packed);
13
14
private
:
15
PhysicMeshShape
(
PackedMesh
&& packed);
16
17
PhysicVbo
mesh;
18
mutable
btBvhTriangleMeshShape shape;
19
float
frict = 0;
20
21
friend
class
DynamicWorld
;
22
};
DynamicWorld
Definition
dynamicworld.h:28
PackedMesh
Definition
packedmesh.h:15
PhysicMeshShape
Definition
physicmeshshape.h:6
PhysicMeshShape::PhysicMeshShape
PhysicMeshShape(const PhysicMeshShape &)=delete
PhysicMeshShape::friction
float friction() const
Definition
physicmeshshape.cpp:6
PhysicMeshShape::load
static PhysicMeshShape * load(PackedMesh &&packed)
Definition
physicmeshshape.cpp:10
PhysicVbo
Definition
physicvbo.h:13
physics.h
physicvbo.h
game
physics
physicmeshshape.h
Generated by
1.9.8