Browse Source

added 'include' dir to lvimrc

# Changes to be committed:
master
dirkson 3 years ago
parent
commit
6178cfd1df
  1. 2
      .lvimrc
  2. 4
      src/voxen_vulkan.c

2
.lvimrc

@ -1,7 +1,7 @@
"Stuff you're more likely to edit goes near the top
let s:projstd = '-std=c99 -Wall'
let s:projinc = '-Isrc -Isrc/example -Isrc/shader -Imeson/debug -Isubprojects/graphene/src -Imeson/debug/subprojects/graphene/src'
let s:projinc = '-Iinclude -Isrc -Isrc/example -Isrc/shader -Imeson/debug -Isubprojects/graphene/src -Imeson/debug/subprojects/graphene/src'
let s:projopt = ''
let g:ale_linters = {'c': ['clang', 'clangcheck']}

4
src/voxen_vulkan.c

@ -938,8 +938,8 @@ voxen_bool voxen_vulkan_create_buffer(VoxenVulkanInfo *initInfo, VkDeviceSize si
voxen_bool voxen_vulkan_create_vertex_buffer(VoxenVulkanInfo *initInfo)
{
graphene_point3d_init(&testVertices[0].col, 1.0f, 0.0f, 0.0f);
graphene_point3d_init(&testVertices[1].col, 0.0f, 1.0f, 0.0f);
graphene_point3d_init(&testVertices[2].col, 0.0f, 0.0f, 1.0f);
graphene_point3d_init(&testVertices[1].col, 0.0f, 1.0f, 0.0f);
graphene_point3d_init(&testVertices[2].col, 0.0f, 0.0f, 1.0f);
graphene_point_init(&testVertices[0].pos, 0.0f, -0.5f);
graphene_point_init(&testVertices[1].pos, 0.5f, 0.5f);

Loading…
Cancel
Save