This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "Application.h" | |
| #include <Renderer2D.h> | |
| class RPG_Application : public aie::Application | |
| { | |
| public: | |
| RPG_Application(); | |
| virtual ~RPG_Application(); | |
| bool startup() override; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Rect(object): | |
| def __init__(self, x, y , width, height): | |
| '''thestuff''' | |
| def Contains(self, point): | |
| return point.'''thestuff''' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// Check points in this list for slope | |
| /// uses dot product for clarity | |
| /// points must be in order to form lines | |
| /// </summary> | |
| /// <param name="points">points to check</param> | |
| /// <returns>points with slope</returns> | |
| List<Vector3> PointsWithNoSlope(List<Vector3> points) | |
| { | |
| var result = new List<Vector3>(); |
OlderNewer