This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Plugins will be downloaded under the specified directory. | |
"call plug#begin('~/.vim/plugged') | |
" Declare the list of plugins. | |
"Plug 'tpope/vim-sensible' | |
"Plug 'junegunn/seoul256.vim' | |
"let g:seoul256_background = 236 | |
"colorscheme seoul256 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader ="," | |
if ! filereadable(expand('~/.config/nvim/autoload/plug.vim')) | |
echo "Downloading junegunn/vim-plug to manage plugins..." | |
silent !mkdir -p ~/.config/nvim/autoload/ | |
silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ~/.config/nvim/autoload/plug.vim | |
endif | |
call plug#begin('~/.config/nvim/plugged') | |
Plug 'tpope/vim-surround' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//g++ -DBUILD_WITH_EASY_PROFILER -g jobSystem.cpp -pthread -leasy_profiler | |
#include<iostream> | |
#include<memory> | |
#include<vector> | |
#include<queue> | |
#include<thread> | |
#include<mutex> | |
#include<condition_variable> | |
#include<chrono> | |
#include<random> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: shell-script -*- | |
# Maintainer: Dylon Edwards <deltaecho at archlinux dot us> | |
pkgbase=open3d-git | |
pkgname=( {,python-}open3d-git ) | |
pkgver=r2163.db3880ab | |
pkgrel=1 | |
pkgdesc="A Modern Library for 3D Data Processing" | |
arch=('x86_64') | |
url="http://www.open3d.org" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef OCTREE_H | |
#define OCTREE_H | |
#include <memory> | |
#include <iostream> | |
#include <cstdint> | |
#include <bitset> | |
#include <vector> | |
#include <glm/glm.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef OCTREE_H | |
#define OCTREE_H | |
#include <memory> | |
#include <iostream> | |
#include <cstdint> | |
#include <bitset> | |
#include <glm/glm.hpp> | |
using namespace glm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gluint VAO,VBO,indexBuffer; | |
glGenVertexArrays(1,&VAO); | |
glBindVertexArrays(VAO); | |
glGenBuffers(1,&VBO); | |
glBindBuffer(GL_ARRAY_BUFFER, VBO);//Use this vbo first | |
glBufferData(GL_ARRAY_BUFFER,.....); //move this data to GPU in this call | |
glVertexAttribPointer(/*point to data within VBO appropriately*/); | |
glEnableVertexAttribArray(/*handle of attrib in question from previous line*/); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright (C) 2005 by Jorrit Tyberghein | |
This library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Library General Public | |
License as published by the Free Software Foundation; either | |
version 2 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |