File: plot.h

package info (click to toggle)
cmix 2.0.11-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,224 kB
  • ctags: 5,925
  • sloc: cpp: 29,558; ansic: 11,452; yacc: 2,020; sh: 1,795; makefile: 1,228; lex: 484; perl: 278
file content (22 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Time-stamp: <98/11/03 13:27:52 panic>
 * Author:	The C-Mix Project <cmix@diku.dk>
 *              Arne John Glenstrup  <panic@diku.dk>
 * Contents:	Header file for the screen plotting driver interface
 */

#ifndef PLOT_H
#define PLOT_H
#include "ray.h"

void initWindow(char *title, int height, int width, int use_c);

void closeWindow();

void plot(int x, int y, myfloat red, myfloat green, myfloat blue);

void refreshLine (int y);

int waitKeyOrClick();
     
#endif