mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
- movrf DBoneComponents into the backend as this needs to be shared.
This commit is contained in:
parent
0e111ae151
commit
8cc3099bd0
4 changed files with 25 additions and 0 deletions
16
src/common/models/bonecomponents.h
Normal file
16
src/common/models/bonecomponents.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
#include "dobject.h"
|
||||
#include "tarray.h"
|
||||
#include "TRS.h"
|
||||
#include "matrix.h"
|
||||
|
||||
|
||||
class DBoneComponents : public DObject
|
||||
{
|
||||
DECLARE_CLASS(DBoneComponents, DObject);
|
||||
public:
|
||||
TArray<TArray<TRS>> trscomponents;
|
||||
TArray<TArray<VSMatrix>> trsmatrix;
|
||||
|
||||
DBoneComponents() = default;
|
||||
};
|
|
@ -6,6 +6,7 @@
|
|||
#include "matrix.h"
|
||||
#include "TRS.h"
|
||||
|
||||
class DBoneComponents;
|
||||
class FModelRenderer;
|
||||
class FGameTexture;
|
||||
class IModelVertexBuffer;
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
#include "vectors.h"
|
||||
#include "matrix.h"
|
||||
#include "common/rendering/i_modelvertexbuffer.h"
|
||||
#include "m_swap.h"
|
||||
|
||||
class DBoneComponents;
|
||||
|
||||
struct IQMMesh
|
||||
{
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
#include "modelrenderer.h"
|
||||
#include "engineerrors.h"
|
||||
#include "r_utility.h"
|
||||
#include "dobject.h"
|
||||
#include "bonecomponents.h"
|
||||
|
||||
IMPLEMENT_CLASS(DBoneComponents, false, false);
|
||||
|
||||
|
||||
IQMModel::IQMModel()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue