#include <librealsense/rs.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <math.h>
#include <librealsense/rsutil.h>
#include <GLFW/glfw3.h>
Go to the source code of this file.
Defines | |
#define | GLFW_INCLUDE_GLU |
Functions | |
void | check_error () |
static double | clamp (double val, double lo, double hi) |
int | main () |
static void | on_cursor_pos (GLFWwindow *win, double x, double y) |
static void | on_mouse_button (GLFWwindow *win, int button, int action, int mods) |
Variables | |
rs_error * | e = 0 |
double | lastX |
double | lastY |
int | ml |
double | pitch |
double | yaw |
#define GLFW_INCLUDE_GLU |
Definition at line 19 of file c-tutorial-3-pointcloud.c.
void check_error | ( | ) |
Definition at line 24 of file c-tutorial-3-pointcloud.c.
static double clamp | ( | double | val, |
double | lo, | ||
double | hi | ||
) | [static] |
Definition at line 39 of file c-tutorial-3-pointcloud.c.
Definition at line 51 of file c-tutorial-3-pointcloud.c.
static void on_cursor_pos | ( | GLFWwindow * | win, |
double | x, | ||
double | y | ||
) | [static] |
Definition at line 40 of file c-tutorial-3-pointcloud.c.
static void on_mouse_button | ( | GLFWwindow * | win, |
int | button, | ||
int | action, | ||
int | mods | ||
) | [static] |
Definition at line 35 of file c-tutorial-3-pointcloud.c.
Definition at line 23 of file c-tutorial-3-pointcloud.c.
double lastX |
Definition at line 34 of file c-tutorial-3-pointcloud.c.
double lastY |
Definition at line 34 of file c-tutorial-3-pointcloud.c.
Definition at line 34 of file c-tutorial-3-pointcloud.c.
double pitch |
Definition at line 34 of file c-tutorial-3-pointcloud.c.
double yaw |
Definition at line 34 of file c-tutorial-3-pointcloud.c.