Update comment

This commit is contained in:
Reece Mackie 2019-04-25 19:30:16 +01:00
parent ec133dbfdd
commit 9b99d025b3

View File

@ -5,16 +5,6 @@
using namespace raylibUWP; using namespace raylibUWP;
/* OTHER CODE */
//TODO: Remove or not...
// Helper to convert a length in device-independent pixels (DIPs) to a length in physical pixels.
inline float ConvertDipsToPixels(float dips, float dpi)
{
static const float dipsPerInch = 96.0f;
return floor(dips * dpi / dipsPerInch + 0.5f); // Round to nearest integer.
}
// The main function creates an IFrameworkViewSource for our app, and runs the app. // The main function creates an IFrameworkViewSource for our app, and runs the app.
[Platform::MTAThread] [Platform::MTAThread]
int main(Platform::Array<Platform::String^>^) int main(Platform::Array<Platform::String^>^)
@ -30,7 +20,8 @@ App::App() {}
static int posX = 100; static int posX = 100;
static int posY = 100; static int posY = 100;
static int time = 0; static int time = 0;
// This method is called after the window becomes active.
// This method is called every frame
void App::Update() void App::Update()
{ {
// Draw // Draw