add very simple (rudimentary) time series graphing example
tweak camera near plane distance, less sensitive mouse wheel
This commit is contained in:
@@ -24,6 +24,13 @@ struct GraphingTexture
|
||||
m_imageData[x*4+y*4*m_width+3] = alpha;
|
||||
}
|
||||
|
||||
void getPixel(int x, int y, unsigned char& red, unsigned char& green, unsigned char& blue, unsigned char& alpha)
|
||||
{
|
||||
red = m_imageData[x*4+y*4*m_width+0];
|
||||
green = m_imageData[x*4+y*4*m_width+1];
|
||||
blue = m_imageData[x*4+y*4*m_width+2];
|
||||
alpha = m_imageData[x*4+y*4*m_width+3];
|
||||
}
|
||||
void uploadImageData();
|
||||
|
||||
int getTextureId()
|
||||
|
||||
Reference in New Issue
Block a user