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
#include "cudaTest.h" | |
CudaTest::CudaTest() | |
{ | |
} | |
void* CudaTest::creator() | |
{ | |
return new CudaTest; | |
} |
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
#---------Reconstruct Subdiv Script for Maya---------- | |
#Script by - Kanishk Chouhan | |
#Email - [email protected] | |
#Blog - www.pixel-architect.blogspot.com | |
#Description - | |
#This script allows u to reverse the result of smooth operation in maya after deleting the history | |
#It also preserves the original UV of the mesh | |
#Select the mesh u want to unsmooth and execute the script | |
#Script might take some time to execute depending on the polycount... |
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 UnityEngine; | |
using UnityEditor; | |
using System.Collections.Generic; | |
using System.Linq; | |
/// <summary> | |
/// 「Window/SerializedObject Editor」で起動。 | |
/// 選択中のObjectと関連ObjectからSerializedObjectを作ってPropertyを全て表示する。 | |
/// </summary> | |
public class SerializedObjectEditor : EditorWindow |
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
T = 2T_{AABB} + \frac{A(S_1)}{A(S)}N(S_1)T_{tri} + \frac{A(S_2)}{A(S)}N(S_2)T_{tri} |
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
// index.html は Assets/StreamingAssetsにあるとする. | |
// Android | |
// HTMLをテキストとして送る. -> ださい | |
www = new WWW("jar:file://" + Application.dataPath + "!/assets/index.html"); // this is the path to your StreamingAssets in android | |
yield www; | |
if(www.isDone){ | |
WebMediator.LoadData(www); // 独自で追加したメソッド, ネイティブプラギン側でWebView.loadData呼び出してる. | |
} |
NewerOlder