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
| require 'capistrano/recipes/deploy/strategy/copy' | |
| require 'fileutils' | |
| require 'tempfile' # Dir.tmpdir | |
| require 'json' | |
| module Capistrano | |
| module Deploy | |
| module Strategy | |
| # This class implements the strategy for deploying versioned, static assets |
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
| /* Dust -- Copyright (C) 2009-2010 GameClay LLC | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software | |
| * distributed under the License is distributed on an "AS IS" BASIS, |
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
| protected static float* AllocHGlobalAlignedF(int numToAlloc, out System.IntPtr freePtr) | |
| { | |
| freePtr = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(float)) * numToAlloc + 15); | |
| return (float*)(((int)freePtr + 15) & ~ 0x0F); | |
| } |
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
| /******************************************************************************* | |
| * PushButton Engine | |
| * Copyright (C) 2009 PushButton Labs, LLC | |
| * For more information see http://www.pushbuttonengine.com | |
| * | |
| * This file is licensed under the terms of the MIT license, which is included | |
| * in the License.html file at the root directory of this SDK. | |
| ******************************************************************************/ | |
| package com.pblabs.engine.serialization | |
| { |
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
| /******************************************************************************* | |
| * PushButton Engine | |
| * Copyright (C) 2009 PushButton Labs, LLC | |
| * For more information see http://www.pushbuttonengine.com | |
| * | |
| * This file is licensed under the terms of the MIT license, which is included | |
| * in the License.html file at the root directory of this SDK. | |
| ******************************************************************************/ | |
| package com.pblabs.engine.version | |
| { |
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
| using System; | |
| using System.IO; | |
| using System.Text; | |
| using System.Collections.Generic; | |
| namespace MonsterTest | |
| { | |
| class MainClass | |
| { | |
| public static void Main (string[] args) |
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
| using System; | |
| using System.Diagnostics; | |
| using Microsoft.Xna.Framework; | |
| // AoS (class) 28-bytes | |
| // this test uses an array of particle classes 23-bytes wide and processes each particle individually | |
| namespace XNA360MathTest | |
| { | |
| static class Program | |
| { |
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
| using System; | |
| using System.Diagnostics; | |
| using Microsoft.Xna.Framework; | |
| // AoS 28-bytes | |
| // this test uses an array of particle structures 28-bytes wide and processes each particle individually | |
| namespace XNA360MathTest | |
| { | |
| static class Program | |
| { |
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
| using System; | |
| using System.Diagnostics; | |
| using Microsoft.Xna.Framework; | |
| // SoA Vector4 | |
| // this test uses a simple array of Vector4's to do batched processing of 4 particles at a time | |
| namespace XNA360MathTest | |
| { | |
| static class Program | |
| { |
NewerOlder