annotate examples/10-Instruments/tank-wars/vector_graphics.h @ 506:2a8afa6fa118
prerelease
Re-removed basic-network example, as the accompanying core code has been taken out a few commits ago
author |
Giulio Moro <giuliomoro@yahoo.it> |
date |
Wed, 22 Jun 2016 01:33:19 +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_ */
|