mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
update project includes format
This commit is contained in:
parent
6c4fb417c5
commit
f43cc93cd2
233 changed files with 1028 additions and 1028 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef MATHS_FASTMATHS_HPP_
|
||||
#define MATHS_FASTMATHS_HPP_
|
||||
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
class FastRandom {
|
||||
uint seed;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include "rays.hpp"
|
||||
|
||||
#include "aabb.hpp"
|
||||
#include "glm/glm.hpp"
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
static const rayvec3 X_AXIS = rayvec3(1, 0, 0), Y_AXIS = rayvec3(0, 1, 0),
|
||||
Z_AXIS = rayvec3(0, 0, 1);
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
#define MATHS_RAYS_HPP_
|
||||
|
||||
#include "aabb.hpp"
|
||||
#include "glm/glm.hpp"
|
||||
#include <glm/glm.hpp>
|
||||
#define GLM_ENABLE_EXPERIMENTAL
|
||||
#include <array>
|
||||
|
||||
#include "glm/gtx/hash.hpp"
|
||||
#include <glm/gtx/hash.hpp>
|
||||
|
||||
using rayvec3 = glm::highp_dvec3;
|
||||
using rayvec2 = glm::highp_dvec2;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef VOXNATHS_HPP_
|
||||
#define VOXNATHS_HPP_
|
||||
|
||||
#include <typedefs.hpp>
|
||||
#include "typedefs.hpp"
|
||||
|
||||
inline int floordiv(int a, int b) {
|
||||
if (a < 0 && a % b) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue