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 <stdio.h> | |
#include <math.h> | |
#define AtoZ 26 | |
#define ASCII_A 65 | |
int calc( char* c, int* sum ) | |
{ | |
if ( *c == '\0' ) | |
{ |
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
- (CGImageRef) loadImageWithPath:(NSString*)path | |
{ | |
NSImage* image = [NSImage imageNamed:path]; | |
return [image CGImageForProposedRect:nil context:nil hints:nil]; | |
} |
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 <vector> | |
class Foo; | |
class Manage | |
{ | |
private: | |
std::vector<Foo> m_vec; | |
public: |
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
require "net/http" | |
$host_ip = "255.255.255.0" | |
$directory = "/h/f/p/g/" | |
$extension = ".jpg" | |
# サーバへの気持ち | |
$wait_time = 0.5 | |
$type = (1..3).to_a |
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
*** ./new_pmd.cpp 2011-12-16 00:32:02.000000000 +0900 | |
--- ./pmd.cpp 2012-03-07 16:28:07.000000000 +0900 | |
*************** | |
*** 411,417 **** | |
for(int i=0; i<10; ++i){ | |
char toon[100]; | |
sprintf(toon, "toon%02d.bmp", i+1); | |
! toon_textures[i]=toon; | |
} | |
} |
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.Collections; | |
public class TestTexture : MonoBehaviour | |
{ | |
// Use this for initialization | |
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
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
uniform float time; | |
uniform vec2 mouse; | |
uniform vec2 resolution; | |
vec3 eye_pos = vec3( 0.0, 0.0, -5.0 ); | |
vec3 target_pos = vec3( 0.0, 0.0, 0.0 ); |
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 GL_ES | |
precision mediump float; | |
#endif | |
uniform float time; | |
uniform vec2 mouse; | |
uniform vec2 resolution; | |
vec3 y_up = vec3( 0.0, 1.0, 0.0 ); | |
vec3 eye_pos = vec3( 0.0, 0.0, -3.0 ); |
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 GL_ES | |
precision mediump float; | |
#endif | |
uniform float time; | |
uniform vec2 mouse; | |
uniform vec2 resolution; | |
vec3 y_up = vec3( 0.0, 1.0, 0.0 ); | |
vec3 eye_pos = vec3( 0.0, 0.0, -3.0 ); |
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 GL_ES | |
precision mediump float; | |
#endif | |
uniform float time; | |
uniform vec2 mouse; | |
uniform vec2 resolution; | |
vec3 y_up = vec3( 0.0, 1.0, 0.0 ); | |
vec3 eye_pos = vec3( 0.0, 0.0, -3.0 ); |
OlderNewer