Skip to content

Instantly share code, notes, and snippets.

View shybovycha's full-sized avatar

Artem Shubovych shybovycha

View GitHub Profile
#include <stdio.h>
#include <math.h>
#include <SFML/Window.hpp>
#define Persistence 1.f / 8.f
#define Number_Of_Octaves 7
inline float interpolate(float a, float b, float x)
{
float ft = x * 3.1415927;
Compiled from "Chaining.java"
public class Chaining {
public Chaining();
Code:
0: aload_0
1: invokespecial #1 // Method java/lang/Object."<init>":()V
4: aload_0
5: ldc #2 // String 111111111111111111111111
7: putfield #3 // Field a1:Ljava/lang/String;
10: aload_0
public java.lang.String concatenationWithExtraVar();
Code:
0: new #8 // class java/lang/StringBuilder
3: dup
4: invokespecial #9 // Method java/lang/StringBuilder."<init>":()V
7: aload_0
8: getfield #3 // Field a1:Ljava/lang/String;
11: invokevirtual #10 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: aload_0
15: getfield #5 // Field a2:Ljava/lang/String;