Skip to content

An example of using React Native to control OpenGL (terrible hacky code)

Notifications You must be signed in to change notification settings

pcottle/play-react-native-opengl

 
 

Repository files navigation

I never open-sourced the code for my post about React Native, where I use it to control a view on top of an OpenGL layer.

I didn't do it because the code is terrible.

I found an old, buggy 3d engine and hacked up one of its examples. So there's a lot of files in here that aren't even used. Also there are hard-coded paths everywhere, I think, so you probably won't even be able to build it. You'd have to update all the paths to react-native, etc.

However, for those who are interested, look in the following files:

  • TeapotAppDelegate.m
  • Everything in the js folder

About

An example of using React Native to control OpenGL (terrible hacky code)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.2%
  • Objective-C 10.8%