overte-HifiExperiments/interface/src/Oscilloscope.h
2013-02-08 13:54:45 -08:00

30 lines
594 B
C++

//
// Oscilloscope.h
// interface
//
// Created by Philip on 1/28/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
//
#ifndef __interface__Oscilloscope__
#define __interface__Oscilloscope__
#include <glm/glm.hpp>
#include "Util.h"
#include "world.h"
#include "InterfaceConfig.h"
#include <iostream>
class Oscilloscope {
public:
Oscilloscope(int width,
int height);
void addData(float data);
void render();
private:
int width;
int height;
float * data;
int current_sample;
};
#endif /* defined(__interface__oscilloscope__) */