HOG2
|
#include "RC.h"
#include <cassert>
#include <cstdio>
#include <algorithm>
#include <string>
#include <iostream>
Go to the source code of this file.
Functions | |
void | EditPointMult (float(&vec)[3][3], Graphics::point &p) |
void | MakeMatrixRotX (float(&a)[3][3], float angle) |
void | MakeMatrixRotY (float(&a)[3][3], float angle) |
void | MakeMatrixRotZ (float(&a)[3][3], float angle) |
int | findInArray (int arr[], int elem, int lower, int upper) |
std::vector< int > | furthestZ (0) |
Variables | |
float | array3 [3] = {0,0,0} |
float | rotation [3][3] = { {0,0,0}, {0,0,0}, {0,0,0} } |
const int | edgesOnFace [6][4] |
const int | cornersOnFace [6][4] |
void EditPointMult | ( | float(&) | vec[3][3], |
Graphics::point & | p | ||
) |
Definition at line 1432 of file RC.cpp.
References array3, Graphics::point::x, Graphics::point::y, and Graphics::point::z.
Referenced by Cubie::RotateBase(), and Cubie::RotateRelative().
int findInArray | ( | int | arr[], |
int | elem, | ||
int | lower, | ||
int | upper | ||
) |
Definition at line 1519 of file RC.cpp.
Referenced by Cubie::Initialize().
std::vector<int> furthestZ | ( | 0 | ) |
Referenced by Cubie::Draw().
void MakeMatrixRotX | ( | float(&) | a[3][3], |
float | angle | ||
) |
Definition at line 1466 of file RC.cpp.
Referenced by Cubie::RotateBase(), and Cubie::RotateRelative().
void MakeMatrixRotY | ( | float(&) | a[3][3], |
float | angle | ||
) |
Definition at line 1484 of file RC.cpp.
Referenced by Cubie::RotateBase(), and Cubie::RotateRelative().
void MakeMatrixRotZ | ( | float(&) | a[3][3], |
float | angle | ||
) |
Definition at line 1502 of file RC.cpp.
Referenced by Cubie::RotateBase(), and Cubie::RotateRelative().
float array3[3] = {0,0,0} |
Definition at line 20 of file RC.cpp.
Referenced by EditPointMult().
const int cornersOnFace[6][4] |
Definition at line 42 of file RC.cpp.
Referenced by RCState::RotateCorners(), and RCState::RotateFace().
const int edgesOnFace[6][4] |
Definition at line 24 of file RC.cpp.
Referenced by RCState::RotateEdges(), and RCState::RotateFace().
float rotation[3][3] = { {0,0,0}, {0,0,0}, {0,0,0} } |
Definition at line 21 of file RC.cpp.
Referenced by DrawCircle(), Graphics::Display::FillNGon(), FrameCircle(), Graphics::Display::FrameNGon(), RubikArbitraryGoalPDB::HCost(), Directional2DEnvironment::LookupStateHeuristic(), mouseMovedNoButton(), Cubie::RotateBase(), Directional2DEnvironment::RotateCCW(), Cubie::RotateRelative(), SVGDrawNGon(), and SVGFrameNGon().