]> git.lizzy.rs Git - dragonblocks_alpha.git/blobdiff - src/client/model.h
You can now see other players
[dragonblocks_alpha.git] / src / client / model.h
index 663df77d0a5904d1f7f743f839be6ff302678e12..977dbc6e7c2574c993a40b3eda6d1b07fc1304f8 100644 (file)
@@ -28,7 +28,6 @@ typedef struct ModelNode {
        char *name;
        bool visible;
        v3f32 pos, rot, scale;
-       f32 angle;
        mat4x4 abs, rel;
        Array meshes;
        struct ModelNode *parent;
@@ -52,6 +51,7 @@ typedef struct Model {
        void *extra;
        aabb3f32 box;
        f32 distance;
+       struct Model *replace;
        struct {
                void (*step)(struct Model *model, f64 dtime);
                void (*delete)(struct Model *model);