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
| // BlendShapeAnimMerger.cs | |
| // ----------------------------------------------------------------------------- | |
| // VRChat avatar tool: merges the avatar's current BlendShape weights into the | |
| // zero-valued curves of expression AnimationClips, producing new .anim files | |
| // non-destructively (original clips are left untouched). | |
| // | |
| // Placement: drop this file into any folder under Assets/Editor/ in your Unity | |
| // project. The window appears under "Tools > BlendShape Anim Merger". | |
| // | |
| // Workflow: |
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
| // 確率・統計 課題2のプログラム | |
| // 「$gcc main.c」でコンパイラした後「$./a.out N >> out.csv」って感じでやるとエクセルとかで使えると思います。 | |
| // Nは生成する乱数の数を入れてね。 | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| void init(int A[], int N, int class[]) { | |
| int i; | |
| srand((unsigned int)time(NULL)); | |
| for (i = 0; i < N; i++) { |