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
// Written by German Adrian Hoyos: [email protected] | |
// porototype virtual joystick for Sunny Lin | |
#pragma once | |
#include "MasterHeader.h" | |
class MyJoyStick | |
{ | |
public: |
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
// Written by German Adrian Hoyos: [email protected] | |
// "My6DofObj.h" objects with the ability to detect parents or siblings | |
/*************************************************************************************************************************** | |
** ** | |
** ** | |
** ADRIAN HOYOS ** | |
** OPENGL NOTES ** | |
** + ** | |
** 6DOF ** | |
** |
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
// Made by Adrian ... [email protected] | |
class My6DofObj | |
{ | |
public: | |
float myVelocity = 0.0f; | |
Vector3 myRotationAxis; | |
Vector3 myTargetPosition; | |
Vector3 myCurrentPosition; | |
Vector3 myWorldPosition; | |
Matrix myCubeSpace = MatrixIdentity(); |
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 My6DofObj | |
{ | |
public: | |
float myVelocity = 0.0f; | |
Vector3 myRotationAxis; | |
Vector3 myTargetPosition; | |
Vector3 myCurrentPosition; | |
Vector3 myWorldPosition; | |
Matrix myCubeSpace = MatrixIdentity(); |
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
// Written by German Adrian Hoyos. [email protected] | |
// "My6DofObj.h" | |
#pragma once | |
#include "MasterHeader.h" | |
class My6DofObj | |
{ | |
public: | |
float myVelocity = 0.0f; | |
Vector3 myRotationAxis; |
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
// Written by German Adrian Hoyos | |
// Linkedin: https://www.linkedin.com/in/adrian-i-81a32615b/ | |
// Common c++ headers + custom headers | |
#include "include/MasterHeader.h" | |
class Player { | |
public: | |
Vector2 xy; | |
Vector2 attackVector; | |
float x; |
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
// Written by German Adrian Hoyos | |
// Linkedin: https://www.linkedin.com/in/adrian-i-81a32615b/ | |
// Inspired by the artwork of: https://x.com/5tr4n0/status/1885114394331275707 | |
// | |
// to launch via git vscode bash terminal: "./runme.bat" | |
// | |
// +------------+----------------------+------------------+---------------------------------+ | |
// | Data Type | Size (Typical) | Description | Value Range | | |
// +------------+----------------------+------------------+---------------------------------+ | |
// | bool | 1 byte | True or false | false (0) to true (1) | |
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
// Written by German Adrian Hoyos | |
// Linkedin: https://www.linkedin.com/in/adrian-i-81a32615b/ | |
#include "../include/masterheader.h" // Common c++ headers + custom headers | |
// Declared in "shapes2D.h" | |
// float triangle2D[] = { | |
// -0.5f, -0.5f, 0.0f, | |
// 0.5f, -0.5f, 0.0f, | |
// 0.0f, 0.5f, 0.0f | |
// }; |
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
// Written by German Adrian Hoyos | |
// Linkedin: https://www.linkedin.com/in/adrian-i-81a32615b/ | |
#include "../include/MasterHeader.h" | |
class reflectiveCube | |
{ | |
public: | |
Vector3 myPosition; Vector3 mySize; | |
Vector3 topFaceCenter, topFaceNormal; Vector3 getTopFaceCenter; Vector3 getTopFaceNormal; Vector3 topFaceCenterInWorldSpace; Vector3 topFaceNormalInWorldSpace; | |
Vector3 botFaceCenter, botFaceNormal; Vector3 getBotFaceCenter; Vector3 getBotFaceNormal; Vector3 botFaceCenterInWorldSpace; Vector3 botFaceNormalInWorldSpace; |
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
// THE SOURCE / WHO WAS, WHO IS, WHO IS COMING: YHWH | |
// Written by German Adrian Hoyos | |
// Linkedin: https://www.linkedin.com/in/adrian-i-81a32615b/ | |
/******************** | |
** ** | |
** Experiment to ** | |
** learn OpenGL ** | |
** and 6dof Maths ** | |
** ** | |
********************/ |
NewerOlder