Skip to content

Instantly share code, notes, and snippets.

Marcin Swiderski sfider

View GitHub Profile
@sfider
sfider / DataGameViewportClient.cpp
Last active Nov 29, 2019
UE4 Pixel Perfect GameViewportClient
View DataGameViewportClient.cpp
#include "DataGameViewportClient.h"
#include "Engine.h"
#include "Engine/LocalPlayer.h"
#include "SceneView.h"
constexpr int RENDER_WIDTH = 320;
constexpr int RENDER_HEIGHT = 180;
UDataGameViewportClient::UDataGameViewportClient(FVTableHelper& Helper)
: Super(Helper)
@sfider
sfider / LOOCryptString.h
Last active Feb 28, 2020
Objective-C macro for hiding (encrypting) strings in compiled binaries.
View LOOCryptString.h
//
// LOOCryptString.h
//
// Created by Marcin Swiderski on 6/8/12.
// Copyright (c) 2012 Marcin Swiderski. All rights reserved.
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
@sfider
sfider / LOOCGAddRoundedPolygon.h
Created Jul 8, 2012
CoreGraphics extension for easy creating polygon path with rounded corners.
View LOOCGAddRoundedPolygon.h
//
// LOOCGAddRoundedPolygon.h
//
// Created by Marcin Swiderski on 1/31/12.
// Copyright (c) 2012 Marcin Swiderski. All rights reserved.
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
@sfider
sfider / LOOProfiling.h
Created Jul 8, 2012
Objective-C macro for measuring execution time of block of code.
View LOOProfiling.h
//
// LOOProfiling.h
//
// Created by Marcin Swiderski on 4/12/12.
// Copyright (c) 2012 Marcin Swiderski. All rights reserved.
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
You can’t perform that action at this time.