formatted license comment

This commit is contained in:
Lorenzo Torres 2025-11-04 00:00:52 +01:00
parent db5a728846
commit 0ffdb8c3ac
30 changed files with 16218 additions and 14914 deletions

View file

@ -1,13 +1,12 @@
// SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier:BSD-3-Clause */
#ifndef RENDERER_H
#define RENDERER_H
#include "../types.h"
/*
* A mesh is a drawable object represented
* as an index (offset) in the global vertex
* and index buffers and a size.
* A mesh is a drawable object represented as an index (offset) in the global
* vertex and index buffers and a size.
*/
struct mesh {
usize vertex_offset;
@ -15,10 +14,9 @@ struct mesh {
usize size;
};
/* The renderer context stores objects
* related to rendering. Implementation
* depends on the graphics backend used
* so for reference see gl/gl.h or vk/vk.h
/*
* The renderer context stores objects related to rendering. Implementation
* depends on the graphics backend used so for reference see gl/gl.h or vk/vk.h
*/
struct renderer_context;