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 UnityEngine.UI; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System; // Math | |
public class ChaseTarget : MonoBehaviour { | |
int cnt = 0; | |
void Start(){ |
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
/* | |
Chaser.cs (like as EnemyMovement.cs) | |
Hierarchy - Create - 3D Object - Cylinder (あるいは prefab import) - Enemy | |
Hierarchy - Enemy - Inspector - Add Component - Navigation - Nav Mesh Agent | |
Project - Create - C# Script - Chaser (Chaser.cs 内容はコピペ等) | |
Chaser - Enemy の上にドラッグドロップ (Inspector 上では Nav Mesh Agent の後) | |
Hierarchy - Create - 3D Object - Terrain (あるいは 地形データ import) | |
Menu - Window - Navigation (Inspector の横に出来る) | |
地形データ - Navigation - Bake - (位置等 パラメータ 調整) - Bake ボタン押す |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
https://matplotlib.org/examples/mplot3d/wire3d_animation_demo.html | |
https://snap.textfile.org/20160327173316/ | |
''' | |
import sys, os | |
import numpy as np | |
from matplotlib import pyplot as plt |
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 <dlib/opencv.h> | |
#include <opencv2/opencv.hpp> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <dlib/image_processing/frontal_face_detector.h> | |
#include <dlib/image_processing/render_face_detections.h> | |
#include <dlib/image_processing.h> | |
#include <dlib/gui_widgets.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> |
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 System; | |
using System.Collections; | |
using System.Net; | |
using System.IO; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using MiniJSON; |
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
import numpy as np | |
import matplotlib.pyplot as plt | |
import sympy as sb | |
from scipy import integrate | |
plt.rcParams["font.size"] = 10 | |
# 複素変数 | |
z = sb.Symbol('z') |
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
LaTeX\\ | |
\begin{equation}\mu_0\end{equation} | |
\begin{equation}\frac{12}{13}\end{equation} | |
\begin{equation}\sqrt{2}+\sqrt{3}\end{equation} | |
\begin{equation}\left[\begin{matrix}a & b\\e^{\pi} & \frac{ρ}{ε_{0}}\end{matrix}\right]\end{equation} | |
\begin{equation}\begin{bmatrix}a & b\\e^{\pi} & \frac{\rho}{\epsilon_{0}}\end{bmatrix}\end{equation} |
OlderNewer