OSDN Git Service
(root)
/
psychlops
/
cpp_document.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
hk
[psychlops/cpp_document.git]
/
Psychlops.manual
/
sample_cpp_file
/
3��
/
3.3.2_�摜�t�@�C���̓Ǎ�1.cpp
1
#include <psychlops.h>
\r
2
using namespace Psychlops;
\r
3
\r
4
Psychlops::Image Noise1;
\r
5
\r
6
void psychlops_main() {
\r
7
\r
8
Canvas sampleA(Canvas::fullscreen);
\r
9
Noise1.load("test.png");
\r
10
Noise1.centering();
\r
11
Noise1.draw();
\r
12
sampleA.flip();
\r
13
while(!Input::get(Keyboard::spc));
\r
14
}