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
| private class TimelinePrivateMethodAndField : ITimelinePrivateMethodAndField | |
| { | |
| private readonly MethodInfo _timelineAddMethod; | |
| private readonly MethodInfo _timelineRemoveMethod; | |
| private readonly MethodInfo _trackAddMethod; | |
| private readonly MethodInfo _trackRemoveMethod; | |
| private readonly FieldInfo _trackParentField; | |
| public TimelinePrivateMethodAndField() | |
| { |
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.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.AddressableAssets; | |
| using UnityEngine.Timeline; | |
| using System; | |
| [Serializable] | |
| public class PageTransitionInfo | |
| { |
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
| func getToDay(day : Double = 0) -> String { | |
| let now = Date( timeInterval: 60*60*24*day, since: Date() as Date ) | |
| let formatter = DateFormatter() | |
| formatter.dateFormat = "yyyy-MM-dd" | |
| return formatter.string(from: now as Date) | |
| } | |
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 "opencv\cv.h" | |
| #include "opencv\highgui.h" | |
| #if CV_MAJOR_VERSION > 1 | |
| #include <opencv2/legacy/legacy.hpp> | |
| #endif | |
| //============================================================================ | |
| bool IsEdgeIn(int ind1, int ind2, | |
| const std::vector<std::vector<int> > &edges) |
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
| struct Depth | |
| { | |
| int m_w, m_h; | |
| std::vector<std::vector<double>> depth; | |
| public: | |
| bool load_depth(std::string name) | |
| { | |
| //delete | |
| if (!depth.empty()) |
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
| std::vector<std::string> split(std::string text,std::string delim ) | |
| { | |
| int index = 0, current = 0; | |
| std::vector<std::string> strs; | |
| while ((index = text.find_first_of(delim, current)) != std::string::npos) | |
| { | |
| strs.push_back(text.substr(current, index - current)); | |
| current = index + 1; | |
| } |
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
| std::wstring_convert<std::codecvt_utf8<wchar_t> > m_codecvt_utf8; | |
| return m_codecvt_utf8.from_bytes(str.c_str()); |
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 <Windows.h> | |
| #include <shlobj.h> | |
| #include <map> | |
| #include <iostream> | |
| #include <fstream> | |
| #include <string> | |
| #include "utillity.h" | |
| static int CALLBACK SHBrowseProc(HWND hWnd, UINT uMsg, LPARAM lParam, LPARAM lpData) |
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 "DxLib.h" | |
| int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR lpCmdLine, int nCmdShow) | |
| { | |
| int Key; | |
| SetGraphMode(640, 480, 16); | |
| ChangeWindowMode(true); | |
| if (DxLib_Init() == -1) |
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 "Task.h" | |
| CTask::CTask(void) | |
| { | |
| } | |
| CTask::~CTask(void) | |
| { | |
| } |
NewerOlder