OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Vector2D
(Results
1 - 5
of
5
) sorted by null
/cts/tests/openglperf2/jni/graphics/
Vector2D.h
17
class
Vector2D
{
19
Vector2D
();
20
Vector2D
(float x, float y);
21
Vector2D
copy();
23
void add(const
Vector2D
& v);
24
void sub(const
Vector2D
& v);
29
float distance(const
Vector2D
& v);
Vector2D.cpp
14
#include "
Vector2D
.h"
18
Vector2D
::
Vector2D
() :
22
Vector2D
::
Vector2D
(float x, float y) :
26
Vector2D
Vector2D
::copy() {
27
Vector2D
v(mX, mY);
31
void
Vector2D
::add(const
Vector2D
& v)
[
all
...]
/cts/tests/openglperf2/jni/reference/scene/flocking/
Boid.h
18
#include <graphics/
Vector2D
.h>
35
Vector2D
mPosition;
36
Vector2D
mVelocity;
37
Vector2D
mAcceleration;
Boid.cpp
24
Vector2D
separation;
26
Vector2D
alignment;
28
Vector2D
cohesion;
37
Vector2D
tmp = mPosition.copy();
70
Vector2D
desired = cohesion.copy();
FlockingScene.cpp
156
Vector2D
* pos = &(b->mPosition);
157
Vector2D
* vel = &(b->mVelocity);
Completed in 334 milliseconds