This file contains 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
// | |
// BlockWorker.h | |
// BlocksExplorer | |
// | |
// Created by Lee Probert on 13/04/2013. | |
// Copyright (c) 2013 Lee Probert. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains 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
// | |
// HorizontalDivide.m | |
// iP2 | |
// | |
// Created by Lee Probert on 25/01/2013. | |
// | |
// | |
#import "HorizontalDivide.h" |
This file contains 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
// | |
// CollectionViewCalendarFlowLayout.m | |
#import "CollectionViewCalendarFlowLayout.h" | |
#define HEADER_WIDTH 200.0f | |
#define FOOTER_WIDTH 20.0f | |
#define SECTION_MARGIN_X 0.0f | |
#define PADDING_X 0.0f |
This file contains 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
// | |
// CollectionViewOrientingFlowLayout.m | |
// iP2 | |
// | |
// Created by Lee Probert on 08/03/2013. | |
// | |
// | |
#define ITEM_SIZE 150.0f | |
#define PADDING 20 |
This file contains 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
// | |
// CollectionViewCarouselFlowLayout.m | |
// iP2 | |
// | |
// Created by Lee Probert on 07/03/2013. | |
// | |
// | |
#import "CollectionViewCircleFlowLayout.h" |
This file contains 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
// | |
// CollectionViewCarouselFlowLayout.m | |
// iP2 | |
// | |
// Created by Lee Probert on 07/03/2013. | |
// | |
// | |
#import "CollectionViewCarouselFlowLayout.h" |
This file contains 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
package com.cc.math | |
{ | |
/** | |
* Full details: http://gamedev.michaeljameswilliams.com/2009/04/24/angles-in-flash/ | |
* Hungarian notation idea: http://www.joelonsoftware.com/articles/Wrong.html | |
* Optimisation credit: http://www.nbilyk.com/optimizing-actionscript-3 | |
* | |
* Usage: import com.michaeljameswilliams.gamedev.angles.Angle | |
* var degAngle:Number = Angle.degFromRad( radAngle ); |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<s:Application | |
xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
minWidth="955" | |
minHeight="600" | |
This file contains 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
Object.z = Math.round((camera.zoom * camera.focus) -Math.abs(camera.z)) | |
+ Object.depth/2; // take or add 0.5 if it's still blurred |