annotate examples/10-Instruments/tank-wars/vector_graphics.h @ 556:ce391098f321
prerelease tip
THIS PROJECT HAS MOVED TO https://github.com/BelaPlatform/bela
author |
Giulio Moro <giuliomoro@yahoo.it> |
date |
Sat, 25 Jun 2016 20:21:00 +0100 |
parents |
a23d74e2f6cb |
children |
|
rev |
line source |
robert@493
|
1 /*
|
robert@493
|
2 * vector_graphics.h
|
robert@493
|
3 *
|
robert@493
|
4 * Created on: Nov 10, 2014
|
robert@493
|
5 * Author: parallels
|
robert@493
|
6 */
|
robert@493
|
7
|
robert@493
|
8 #ifndef VECTOR_GRAPHICS_H_
|
robert@493
|
9 #define VECTOR_GRAPHICS_H_
|
robert@493
|
10
|
robert@493
|
11 int renderLine(float x1, float y1, float x2, float y2, float speed,
|
robert@493
|
12 float *buffer, int maxLength);
|
robert@493
|
13 int renderArc(float x, float y, float radius, float thetaMin, float thetaMax,
|
robert@493
|
14 float speed, float *buffer, int maxLength);
|
robert@493
|
15 void renderPoint(float x, float y, float *buffer, float length);
|
robert@493
|
16
|
robert@493
|
17
|
robert@493
|
18 #endif /* VECTOR_GRAPHICS_H_ */
|