creates a shortbuffer based on the given data . concode_field_sep Map<Integer,Integer> cachedTextureHandles concode_elem_sep Vector3 objectToCamera concode_field_sep float[] randomColor concode_elem_sep IntBuffer createIntBuffer concode_elem_sep int createVAO concode_elem_sep int loadTexture concode_elem_sep void clearTextures concode_elem_sep void fillColors concode_elem_sep void fillColors concode_elem_sep FloatBuffer createFloatBuffer concode_elem_sep void checkGLError concode_elem_sep int createVBO concode_elem_sep boolean isLookingAt
ShortBuffer function ( final short [ ] arg0 ) { if ( arg0 == null ) { return null ; } ByteBuffer loc0 = ByteBuffer . allocateDirect ( arg0 . length * 4 ) ; loc0 . order ( ByteOrder . nativeOrder ( ) ) ; final ShortBuffer loc1 = loc0 . asShortBuffer ( ) ; loc1 . put ( arg0 ) ; loc1 . position ( 0 ) ; return loc1 ; }