WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelog
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.
Made byMcKay Seamons
GitHub
  1. Home
  2. Docs
  3. Examples
  4. CubeMapping.h
Mission NodeSDK 6.3C++topologyProject Included

CubeMapping.h

Example: CubeMapping.h

Examples / SDK 6.3 / C++ / topology / Cube Mapping / project / src
CubeMapping.h
CPP
1// This header file is generated by WOWCube SDK project wizard
2#pragma once
3#include "Gfx.h"
4
5class CubeMapping: public Cubios::Application
6{
7public:
8 CubeMapping();
9 virtual ~CubeMapping();
10
11 virtual void on_PhysicsTick(const std::array<Cubios::Screen, 3>& screens) override;
12 virtual void on_Twist(const Cubios::TOPOLOGY_twistInfo_t& twist) override;
13 virtual void on_Message(uint32_t type, uint8_t* pkt, u32_t size) override;
14 virtual void on_ExternalMessage(uint8_t* pkt, u32_t size) override;
15 virtual void on_Pat(uint32_t count) override;
16 virtual void on_Render(std::array<Cubios::Screen, 3>& screens) override;
17 virtual void on_Tick(uint32_t currentTime, uint32_t deltaTime) override;
18 virtual void on_Timer(uint8_t timerID) override;
19
20 void InitializeResources();
21
22private:
23 uint32_t images[TOPOLOGY_FACES_MAX * TOPOLOGY_POSITIONS_MAX];
24 int offsets[TOPOLOGY_FACES_MAX];
25
26};
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.
Context Rail

Project files

CubeMapping.cpp
project/src/CubeMapping.cpp
CubeMapping.h
project/src/CubeMapping.h
wowcubeapp-build.json
project/wowcubeapp-build.json
Context Rail

Related nodes

CubeMapping.cpp
Examples / SDK 6.3 / C++ / topology / Cube Mapping / project / src
Cube Mapping
Examples / SDK 6.3 / C++ / topology
info.json
Examples / SDK 6.3 / C++ / topology / Cube Mapping
wowcubeapp-build.json
Examples / SDK 6.3 / C++ / topology / Cube Mapping / project
Previous Node
CubeMapping.cpp
Examples / SDK 6.3 / C++ / topology / Cube Mapping / project / src
Next Node
wowcubeapp-build.json
Examples / SDK 6.3 / C++ / topology / Cube Mapping / project