From 25bf78bfb4785e2cbed683cc56d3cec4271d8b5a Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Thu, 7 Sep 2023 15:14:14 -0300 Subject: feat Create skeletal mesh --- src/vk/static_mesh_vertex.hpp | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/vk/static_mesh_vertex.hpp (limited to 'src/vk/static_mesh_vertex.hpp') diff --git a/src/vk/static_mesh_vertex.hpp b/src/vk/static_mesh_vertex.hpp new file mode 100644 index 0000000..7a91fe4 --- /dev/null +++ b/src/vk/static_mesh_vertex.hpp @@ -0,0 +1,34 @@ +/* + * Copyright 2022-2023 Frederico de Oliveira Linhares + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef CANDY_GEAR_VK_STATIC_MESH_VERTEX_H +#define CANDY_GEAR_VK_STATIC_MESH_VERTEX_H 1 + +#include "core.hpp" + +namespace VK +{ + +struct StaticMeshVertex +{ + glm::vec3 position; + glm::vec3 normal; + glm::vec2 texture_coord; +}; + +} + +#endif /* CANDY_GEAR_VK_STATIC_MESH_VERTEX_H */ -- cgit v1.2.3