Skip to content

Instantly share code, notes, and snippets.

@pranavkantgaur
pranavkantgaur / rPlyWrite.cpp
Last active August 29, 2015 14:14
Minimal example for testing RPly's ply_write function
#include <iostream>
#include <stdlib.h>
#include "rply/rply.h"
using namespace std;
int main()
{
@pranavkantgaur
pranavkantgaur / rPly.cpp
Last active August 29, 2015 14:14
C++ port of rPly program from here: http://w3.impa.br/~diego/software/rply/
/* ----------------------------------------------------------------------
* RPly library, read/write PLY files
* Diego Nehab, IMPA
* http://www.impa.br/~diego/software/rply
*
* This library is distributed under the MIT License. See notice
* at the end of this file.
* ---------------------------------------------------------------------- */
#include <stdio.h>
#include <ctype.h>
@pranavkantgaur
pranavkantgaur / main.cpp
Last active August 29, 2015 14:05 — forked from trtg/main.cpp
NITE mouse control
/*******************************************************************************
* *
* PrimeSense NITE 1.3 - Single Control Sample *
* Copyright (C) 2010 PrimeSense Ltd. *
* *
*******************************************************************************/
// NOTE: It is a bug fixed version of https://gist.github.com/trtg/3922745