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
| compare: | |
| add $sp, $sp, -4 | |
| sw $ra, 0($sp) | |
| jal sub | |
| slti $t1, $v0, 0 | |
| beq $t1, $zero, exit | |
| addi $t1, $t1, -2 | |
| exit: | |
| add $t1, $t1, 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
| # 2.1.7: /etc/dovecot/dovecot.conf | |
| # OS: Linux 3.8.0-27-generic x86_64 Ubuntu 13.04 | |
| auth_mechanisms = plain login | |
| mail_location = mbox:~/mail:INBOX=/var/mail/%u | |
| mail_privileged_group = mail | |
| managesieve_notify_capability = mailto | |
| managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave | |
| namespace inbox { | |
| inbox = yes | |
| location = |
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
| for (f_it = faces_begin(); f_it != faces_end(); ++f_it) | |
| { | |
| for (fv_it = fv_iter( f_it ); fv_it; ++fv_it) | |
| { | |
| sp_p data = property(VProp, v_it.handle()); | |
| double *d2p = data.pt.data() // this is point (x , y, z); | |
| double *d3p = point(fv_it.handle()).data(); | |
| glTexCoord2f(d2p[0] + 0.5,d2p[1] + 0.5); | |
| glVertex3f(d3p[0],d3p[1],d3p[2]); |
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
| for (f_it = faces_begin(); f_it != faces_end(); ++f_it) | |
| { | |
| for (fv_it = fv_iter( f_it ); fv_it; ++fv_it) | |
| { | |
| sp_p data = property(VProp, v_it.handle()); | |
| double *d2p = data.pt.data() // this is point (x , y, z); | |
| double *d3p = point(fv_it.handle()).data(); | |
| glTexCoord2f(d2p[0] + 0.5,d2p[1] + 0.5); | |
| glVertex3f(d3p[0],d3p[1],d3p[2]); |
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 "stdafx.h" | |
| #include "GUA_OM.h" | |
| #include <math.h> | |
| #include <opencv2/core/core.hpp> | |
| #include <opencv/cv.h> | |
| #include <highgui.h> | |
| using namespace cv; | |
| namespace OMT |
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
| PolyPointer readp() | |
| {/*read in the polynomial */ | |
| PolyPointer node = NULL, c, headnode; | |
| float coef=1; | |
| int expon, i=0, count=0; | |
| char str[100], tempc; | |
| scanf("%s", str); | |
| while (str[i] != '\0' ){ |
NewerOlder