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
parameter_x_type x; | |
parameter_y_type y; | |
parameter_z_type z; | |
parameter_w_type w; | |
f( x, y, z, w ); |
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
._3u13 ._3u15 | |
{ | |
background: #000; | |
} |
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 <array> | |
#include <iostream> | |
using t = std::array< float, 16 >; | |
auto f( t* vs ) | |
{ | |
return vs; | |
} |
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
in == "http" or in == "https" |
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_directories(${CMAKE_CURRENT_BINARY_DIR}/include) | |
link_directories(${CMAKE_CURRENT_BINARY_DIR}/lib) | |
include(ExternalProject) | |
set(bullet_cxx_flags "${CMAKE_CXX_FLAGS} -DUSE_ADDR64 -DBT_NO_PROFILE") | |
ExternalProject_Add(external_bullet | |
GIT_REPOSITORY [email protected]:bulletphysics/bullet3.git | |
PATCH_COMMAND COMMAND patch -p0 < ${CMAKE_CURRENT_SOURCE_DIR}/patch/bullet.patch |
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
{ | |
"locale" : "en-US" | |
} |
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 <boost/coroutine/all.hpp> | |
#include <boost/signals2/signal.hpp> | |
#include <memory> | |
namespace usagi | |
{ | |
class yieldable_task_system_type | |
{ | |
boost::signals2::signal< auto () -> void > signal; |
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
#ifdef _WIN32 | |
#include <windows.h> | |
#endif | |
#include <cstdint> | |
extern "C" | |
{ | |
#ifdef _WIN32 | |
__declspec( dllexport ) |
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 <boost/units/systems/si.hpp> | |
#include <boost/math/constants/constants.hpp> | |
#include <boost/units/io.hpp> | |
#include <iostream> | |
namespace some_app | |
{ | |
using namespace boost::units; | |
using namespace boost::units::si; |
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
#pragma once | |
#if __cplusplus >= 201402 | |
#include <shared_mutex> | |
#else | |
#include <mutex> | |
#endif | |
namespace usagi | |
{ |