Advertisement
MateuszGrabarczyk

myglsurfaceview

Dec 8th, 2022
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.33 KB | None | 0 0
  1. package com.example.lab5
  2.  
  3. import android.content.Context
  4. import android.opengl.GLSurfaceView
  5.  
  6. /* Implementacja płótna */
  7.  
  8. class MyGLSurfaceView(context: Context) :GLSurfaceView(context) {
  9.     init {
  10.         //ustawienie renderera (malarza) w ciele konstruktora podstawowego
  11.         setRenderer(MyRenderer(context))
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement