This file contains 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
// | |
// EAGLDepthBufferedView.h | |
// DepthBufferTest | |
// | |
// Created by narumij on 11/04/16. | |
// | |
#import "EAGLView.h" | |
@interface EAGLDepthBufferedView : EAGLView { |
This file contains 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
// | |
// EAGLView.h | |
// OpenGLES_iPhone | |
// | |
// Created by mmalc Crawford on 11/18/10. | |
// Copyright 2010 Apple Inc. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
This file contains 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
// | |
// JNCons.h | |
// AnimationLanguage | |
// | |
// Created by narumij on 11/01/18. | |
// Copyright 2011 narumij. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains 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
/* | |
steal from bullet physics GLDebugFont.cpp | |
modified by narumij. | |
redistribute condition is follow as below. | |
*/ | |
/* | |
Bullet Continuous Collision Detection and Physics Library | |
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org |
This file contains 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
/* | |
* BeginEnd.h | |
* GLBeginEnd | |
* | |
* Created by narumij on 10/05/18. | |
* Copyright 2010 narumij. All rights reserved. | |
* | |
*/ | |
// http://d.hatena.ne.jp/narumij/20100518/1274190881 |
This file contains 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
;;; Wavefront OBJ file loader | |
(in-package #:cl) | |
(defpackage #:obj2 | |
(:use #:cl) | |
(:export | |
#:count-info | |
#:read-obj-file | |
#:v ;; v vn vt f g はできればexternしたくない。 |
This file contains 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
(macrolet | |
((s-row (s row) `(car (nth ,row ,s))) | |
(s-element (s row col) `(nth ,col (s-row ,s ,row))) | |
(s-scp(s row) `(cdr (nth ,row ,s))) | |
(setf- (x y) `(setf ,x (- ,x ,y))) | |
(setf/ (x y) `(setf ,x (/ ,x ,y)))) | |
(labels | |
((elimination! (s row) | |
(labels ((k-loop (s row j mji k) | |
(if (< k 8) |